public interface ISideConfigurable
Any TE which supports side configuration must also be rotatable, since configurable sides are relative to the block's facing direction.
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.util.Direction |
byIndex()
Return the (absolute) direction that this TE is facing.
|
java.util.List<SideConfigurator<?>> |
getSideConfigurators()
Get a collection of all the side configurators this TE has
|
default boolean |
isValid(SideConfigurator.RelativeFace face,
net.minecraftforge.common.capabilities.Capability<?> cap)
Check if the given handler is OK for the given face
|
java.util.List<SideConfigurator<?>> getSideConfigurators()
default boolean isValid(SideConfigurator.RelativeFace face, @Nullable net.minecraftforge.common.capabilities.Capability<?> cap)
face - relative face of the blockcap - the capability to check, may be null to indicate no connectivity on this facenet.minecraft.util.Direction byIndex()