Store additional spawn-information along with an entity

This commit is contained in:
Frank 2021-12-10 00:26:09 +01:00
parent 7292c3cf3a
commit 5be62802e8
5 changed files with 58 additions and 0 deletions

View 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) {
}