This commit is contained in:
gnembon committed 2020-07-01 15:41:25 -03:00
1 parent 150c1d41a7
commit 03061ba114
14 files changed
+60 -35

No files matched your search

@@ -15,6 +15,7 @@ public abstract class Entity_scarpetEventsMixin implements EntityInterface
@Shadow public boolean removed;
@Shadow protected int netherPortalTime;
@Shadow private int netherPortalCooldown;
private boolean permanentVehicle;
private final EntityEventsGroup events = new EntityEventsGroup();
@@ -37,6 +38,18 @@ public abstract class Entity_scarpetEventsMixin implements EntityInterface
permanentVehicle = permanent;
}
@Override
public int getPublicNetherPortalCooldown()
{
return netherPortalCooldown;
}
@Override
public void setPublicNetherPortalCooldown(int what)
{
netherPortalCooldown = what;
}
@Override
public int getPortalTimer()
{