Interface PropertyDelegateHolder
public interface PropertyDelegateHolder
This interface can be implemented on block entity classes
for providing a property delegate.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.inventory.ContainerDataGets this block entity's property delegate.
-
Method Details
-
getPropertyDelegate
net.minecraft.world.inventory.ContainerData getPropertyDelegate()Gets this block entity's property delegate.On the client, the returned property delegate must have a working implementation of
ContainerData.set(int, int).- Returns:
- the property delegate
-