MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / updateModels

Method updateModels

src/main/java/net/optifine/CustomItems.java:243–254  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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 {

Callers 1

resourcesReloadedMethod · 0.95

Calls 5

getAllPropertiesMethod · 0.95
getMinecraftMethod · 0.95
updateModelTextureMethod · 0.80
updateModelsFullMethod · 0.80
getTextureMapBlocksMethod · 0.45

Tested by

no test coverage detected