()
| 241 | } |
| 242 | |
| 243 | public static void updateModels() |
| 244 | { |
| 245 | for (CustomItemProperties customitemproperties : getAllProperties()) |
| 246 | { |
| 247 | if (customitemproperties.type == 1) |
| 248 | { |
| 249 | TextureMap texturemap = Minecraft.getMinecraft().getTextureMapBlocks(); |
| 250 | customitemproperties.updateModelTexture(texturemap, itemModelGenerator); |
| 251 | customitemproperties.updateModelsFull(); |
| 252 | } |
| 253 | } |
| 254 | } |
| 255 | |
| 256 | private static List<CustomItemProperties> getAllProperties() |
| 257 | { |
no test coverage detected