mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-25 06:17:59 +01:00
17 lines
401 B
Java
17 lines
401 B
Java
|
package com.minelittlepony.unicopia.block;
|
||
|
|
||
|
import com.minelittlepony.unicopia.CloudType;
|
||
|
|
||
|
import net.minecraft.block.state.IBlockState;
|
||
|
import net.minecraft.entity.Entity;
|
||
|
|
||
|
public interface ICloudBlock {
|
||
|
|
||
|
CloudType getCloudMaterialType(IBlockState blockState);
|
||
|
|
||
|
default boolean getCanInteract(IBlockState state, Entity e) {
|
||
|
return getCloudMaterialType(state).canInteract(e);
|
||
|
}
|
||
|
|
||
|
}
|