Package io.github.cottonmc.cotton.gui
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 TypeMethodDescriptionGets this block entity's property delegate.
-
Method Details
-
getPropertyDelegate
PropertyDelegate getPropertyDelegate()Gets this block entity's property delegate.On the client, the returned property delegate must have a working implementation of
PropertyDelegate.set(int, int)
.- Returns:
- the property delegate
-