(Class<? extends Entity> clazz)
| 22 | } |
| 23 | |
| 24 | private static ResourceLocation getId(Class<? extends Entity> clazz) throws SchematicException { |
| 25 | ResourceLocation id = BlueprintAPI.getWorldEntityId(clazz); |
| 26 | if (id == null) { |
| 27 | throw new SchematicException("Unknown entity class " + clazz + "!"); |
| 28 | } |
| 29 | return id; |
| 30 | } |
| 31 | |
| 32 | public NBTTagCompound serializeNBT() { |
| 33 | NBTTagCompound nbt = new NBTTagCompound(); |
no test coverage detected