Class DynamicLightTileMultipartTicking
java.lang.Object
org.cyclops.integrateddynamics.capability.dynamiclight.DynamicLightTileMultipartTicking
- All Implemented Interfaces:
IDynamicLight
Default implementation of
IDynamicLight.-
Constructor Summary
ConstructorsConstructorDescriptionDynamicLightTileMultipartTicking(BlockEntityMultipartTicking tile, net.minecraft.core.Direction side) -
Method Summary
Modifier and TypeMethodDescriptionintGet the light level.protected org.cyclops.cyclopscore.datastructure.EnumFacingMap<Integer> voidsetLightLevel(int level) Set the light level.
-
Constructor Details
-
DynamicLightTileMultipartTicking
public DynamicLightTileMultipartTicking(BlockEntityMultipartTicking tile, net.minecraft.core.Direction side)
-
-
Method Details
-
getLightLevels
-
setLightLevel
public void setLightLevel(int level) Description copied from interface:IDynamicLightSet the light level.- Specified by:
setLightLevelin interfaceIDynamicLight- Parameters:
level- The light level.
-
getLightLevel
public int getLightLevel()Description copied from interface:IDynamicLightGet the light level.- Specified by:
getLightLevelin interfaceIDynamicLight- Returns:
- The light level.
-