fix stupid error

thank you caffeine mc peeps
This commit is contained in:
Zoë Gidiere 2023-12-08 19:57:05 -07:00
parent 17eac505a0
commit d88e4f1f9b

View File

@ -50,7 +50,7 @@ public abstract class MobSpawnerBlockEntityMixin extends BlockEntity {
public abstract MobSpawnerLogic getLogic(); public abstract MobSpawnerLogic getLogic();
@Shadow @Shadow
public abstract void setEntityType(net.minecraft.entity.EntityType<?> entityType, Random random); public abstract void method_46408(net.minecraft.entity.EntityType<?> entityType, Random random);
public EntityType terra$getSpawnedType() { public EntityType terra$getSpawnedType() {
return (EntityType) Registries.ENTITY_TYPE.get( return (EntityType) Registries.ENTITY_TYPE.get(
@ -58,7 +58,7 @@ public abstract class MobSpawnerBlockEntityMixin extends BlockEntity {
} }
public void terra$setSpawnedType(@NotNull EntityType creatureType) { public void terra$setSpawnedType(@NotNull EntityType creatureType) {
setEntityType((net.minecraft.entity.EntityType<?>) creatureType, world.getRandom()); method_46408((net.minecraft.entity.EntityType<?>) creatureType, world.getRandom());
} }
public int terra$getDelay() { public int terra$getDelay() {