Traben-0 / Entity_Texture_Features

A Minecraft Fabric & Forge mod that adds random, emissive & blinking textures for mobs, skins and much more!
GNU Lesser General Public License v3.0
132 stars 26 forks source link

Add CustomName to generated chest UUID to solve caching problem #58

Closed PssbleTrngle closed 2 years ago

PssbleTrngle commented 2 years ago

When placing down a chest, with or without a custom name, the UUID used for caching the custom texture is only calculated using the BlockPos. Breaking the chest a placing a differently named chest then still shows the texture of the intital chest. To solve this, the CustomName of the chest has been added to the bytes used to generate the UUID