Cleaned up door code
More to come, but this helps a little. Should make changing dim door behavior much easier.
This commit is contained in:
13
StevenDimDoors/mod_pocketDim/blocks/IDDoorLogic.java
Normal file
13
StevenDimDoors/mod_pocketDim/blocks/IDDoorLogic.java
Normal file
@@ -0,0 +1,13 @@
|
||||
package StevenDimDoors.mod_pocketDim.blocks;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public interface IDDoorLogic
|
||||
{
|
||||
public void enterDimDoor(World world, int x, int y, int z, Entity entity);
|
||||
|
||||
public void placeDimDoor(World world, int x, int y, int z);
|
||||
|
||||
public int getDrops();
|
||||
}
|
||||
Reference in New Issue
Block a user