mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-27 23:45:44 +00:00
Finished World and EntityMinecart patches.
This commit is contained in:
1 parent
41f1a60f32
commit
316bf8d448
13 files changed
+1396
-42
No files matched your search
@@ -5,15 +5,19 @@ import net.minecraftforge.event.Event;
|
||||
|
||||
public class EntityEvent extends Event
|
||||
{
|
||||
private final Entity entity;
|
||||
public final Entity entity;
|
||||
|
||||
public EntityEvent(Entity entity)
|
||||
{
|
||||
this.entity = entity;
|
||||
}
|
||||
|
||||
public Entity getEntity()
|
||||
public static class CanUpdate extends EntityEvent
|
||||
{
|
||||
return entity;
|
||||
public boolean canUpdate = false;
|
||||
public CanUpdate(Entity entity)
|
||||
{
|
||||
super(entity);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user