mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-04 00:45:57 +00:00
fix stupid error
thank you caffeine mc peeps
This commit is contained in:
parent
17eac505a0
commit
d88e4f1f9b
@ -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() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user