![JAR search and dependency download from the Maven repository](/logo.png)
net.minecraft.server.EntityMinecartMobSpawner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chest-server Show documentation
Show all versions of chest-server Show documentation
A spigot fork to kotlin structure and news.
The newest version!
package net.minecraft.server;
public class EntityMinecartMobSpawner extends EntityMinecartAbstract {
private final MobSpawnerAbstract a = new MobSpawnerAbstract() {
public void a(int i) {
EntityMinecartMobSpawner.this.world.broadcastEntityEffect(EntityMinecartMobSpawner.this, (byte) i);
}
public World a() {
return EntityMinecartMobSpawner.this.world;
}
public BlockPosition b() {
return new BlockPosition(EntityMinecartMobSpawner.this);
}
};
public EntityMinecartMobSpawner(World world) {
super(world);
}
public EntityMinecartMobSpawner(World world, double d0, double d1, double d2) {
super(world, d0, d1, d2);
}
public EnumMinecartType s() {
return EnumMinecartType.SPAWNER;
}
public IBlockData u() {
return Blocks.MOB_SPAWNER.getBlockData();
}
protected void a(NBTTagCompound nbttagcompound) {
super.a(nbttagcompound);
this.a.a(nbttagcompound);
}
protected void b(NBTTagCompound nbttagcompound) {
super.b(nbttagcompound);
this.a.b(nbttagcompound);
}
public void t_() {
super.t_();
this.a.c();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy