// Path: src/main/java/cn/academy/energy/api/block/IWirelessMatrix.java
// public interface IWirelessMatrix extends IWirelessTile {
// 
//     /**
//      * @return How many nodes it can hold
//      */
//     int getCapacity();
// 
//     /**
//      * @return How much energy allowed to balance between nodes each tick
//      */
//     double getBandwidth();
// 
//     /**
//      * @return the max range that this matrix can reach
//      */
//     double getRange();
// 
// }
// 
// Path: src/main/java/cn/academy/energy/api/event/WirelessEvent.java
// public class WirelessEvent extends Event {
// 
//     public final IWirelessTile tile;
// 
//     public WirelessEvent(IWirelessTile _tile) {
//         tile = _tile;
//     }
// 
//     public TileEntity getTileEntity() {
//         return (TileEntity) tile;
//     }
// 
//     public World getWorld() {
//         return getTileEntity().getWorld();
//     }
// 
// }


import cn.academy.energy.api.block.IWirelessMatrix;
import cn.academy.energy.api.event.WirelessEvent;
import net.minecraftforge.fml.common.eventhandler.Cancelable;
package cn.academy.energy.api.event.wen;


@Cancelable
public class ChangePassEvent extends WirelessEvent {

    public final IWirelessMatrix mat;
    public final String oldpwd; //Can be null if not encrypted.
// Path: src/main/java/cn/academy/energy/api/block/IWirelessMatrix.java
// public interface IWirelessMatrix extends IWirelessTile {
// 
//     /**
//      * @return How many nodes it can hold
//      */
//     int getCapacity();
// 
//     /**
//      * @return How much energy allowed to balance between nodes each tick
//      */
//     double getBandwidth();
// 
//     /**
//      * @return the max range that this matrix can reach
//      */
//     double getRange();
// 
// }
// 
// Path: src/main/java/cn/academy/energy/api/event/WirelessEvent.java
// public class WirelessEvent extends Event {
// 
//     public final IWirelessTile tile;
// 
//     public WirelessEvent(IWirelessTile _tile) {
//         tile = _tile;
//     }
// 
//     public TileEntity getTileEntity() {
//         return (TileEntity) tile;
//     }
// 
//     public World getWorld() {
//         return getTileEntity().getWorld();
//     }
// 
// }


// Path: src/main/java/cn/academy/energy/api/event/wen/ChangePassEvent.java
import cn.academy.energy.api.block.IWirelessMatrix;
import cn.academy.energy.api.event.WirelessEvent;
import net.minecraftforge.fml.common.eventhandler.Cancelable;

package cn.academy.energy.api.event.wen;


@Cancelable
public class ChangePassEvent extends WirelessEvent {

    public final IWirelessMatrix mat;
    public final String oldpwd; //Can be null if not encrypted.
    public final String pwd;