Interface IComponentHarness
- All Known Subinterfaces:
IFacingComponentHarness
- All Known Implementing Classes:
ActiveTile,AssetTestTile,CreativeFEGeneratorTile,GeneratorTile,MachineTestTile,MachineTile,PoweredTile,TestTile,TwentyFourTestTile
public interface IComponentHarness
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.level.LevelvoidvoidmarkComponentForUpdate(boolean referenced) Allows a Component to force an updated
-
Method Details
-
getComponentWorld
net.minecraft.world.level.Level getComponentWorld() -
markComponentForUpdate
void markComponentForUpdate(boolean referenced) Allows a Component to force an updated- Parameters:
referenced- whether or not this update would be covered by an IntReferenceHolder in a container, AKA should I sync this, if I don't need it outside a container.
-
markComponentDirty
void markComponentDirty()
-