Class DynamicLightTileMultipartTicking
java.lang.Object
org.cyclops.integrateddynamics.capability.dynamiclight.DynamicLightTileMultipartTicking
- All Implemented Interfaces:
IDynamicLight
Default implementation of
IDynamicLight
.-
Constructor Summary
ConstructorDescriptionDynamicLightTileMultipartTicking
(BlockEntityMultipartTicking tile, net.minecraft.core.Direction side) -
Method Summary
Modifier and TypeMethodDescriptionint
Get the light level.protected org.cyclops.cyclopscore.datastructure.EnumFacingMap<Integer>
void
setLightLevel
(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:IDynamicLight
Set the light level.- Specified by:
setLightLevel
in interfaceIDynamicLight
- Parameters:
level
- The light level.
-
getLightLevel
public int getLightLevel()Description copied from interface:IDynamicLight
Get the light level.- Specified by:
getLightLevel
in interfaceIDynamicLight
- Returns:
- The light level.
-