Store additional spawn-information along with an entity
This commit is contained in:
parent
7292c3cf3a
commit
5be62802e8
5 changed files with 58 additions and 0 deletions
7
src/main/java/ru/bclib/entity/BCLEntityWrapper.java
Normal file
7
src/main/java/ru/bclib/entity/BCLEntityWrapper.java
Normal file
|
@ -0,0 +1,7 @@
|
|||
package ru.bclib.entity;
|
||||
|
||||
import net.minecraft.world.entity.Entity;
|
||||
import net.minecraft.world.entity.EntityType;
|
||||
|
||||
public record BCLEntityWrapper<T extends Entity>(EntityType<T> type, boolean canSpawn) {
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue