public class LocalBlockUpdateNotifier
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static LocalBlockUpdateNotifier |
instance(net.minecraft.world.World world)
Gets the LocalBlockUpdateNotifier for the given world
|
void |
registerSubscriberForUpdateNotifications(ILocalBlockUpdateSubscriber subscriber)
Register an @{ILocalBlockUpdateSubscriber} to receive notifications about block updates
|
void |
removeSubscriberFromUpdateNotifications(ILocalBlockUpdateSubscriber subscriber)
Stop an @{ILocalBlockUpdateSubscriber} from receiving notifications about block updates
|
public static LocalBlockUpdateNotifier instance(net.minecraft.world.World world)
world
- the World where BlockUpdate events will be listened forpublic void registerSubscriberForUpdateNotifications(ILocalBlockUpdateSubscriber subscriber)
subscriber
- the subscriber to receive notifications about local block updatespublic void removeSubscriberFromUpdateNotifications(ILocalBlockUpdateSubscriber subscriber)
subscriber
- the subscriber to no longer receive notifications about local block update