Open main menu
Home
Random
Log in
Settings
About Forge Community Wiki
Disclaimers
Forge Community Wiki
Search
Changes
← Older edit
Newer edit →
Events/BlockEvent
(view source)
Revision as of 17:08, 20 April 2021
1 byte added
,
17:08, 20 April 2021
m
→NeighborNotifyEvent
Line 81:
Line 81:
public void onNeighborNotify(final BlockEvent.NeighborNotifyEvent event)
public void onNeighborNotify(final BlockEvent.NeighborNotifyEvent event)
{
{
−
if (world.isClientSide()) return;
+
if (
!
world.isClientSide()) return;
BlockPos eventPos = event.getPos();
BlockPos eventPos = event.getPos();
for (Direction direction : event.getNotifiedSides()) // cycle through notified directions
for (Direction direction : event.getNotifiedSides()) // cycle through notified directions
EERussianguy
16
edits