1.15-pre1
This commit is contained in:
parent
f9b9279500
commit
c8ce611841
12 changed files with 25 additions and 18 deletions
|
@ -24,8 +24,10 @@
|
|||
|
||||
package techreborn.client.render;
|
||||
|
||||
import net.minecraft.class_4730;
|
||||
import net.minecraft.client.MinecraftClient;
|
||||
import net.minecraft.client.texture.Sprite;
|
||||
import net.minecraft.client.texture.SpriteAtlasTexture;
|
||||
import net.minecraft.client.util.ModelIdentifier;
|
||||
import net.minecraft.util.Identifier;
|
||||
import techreborn.TechReborn;
|
||||
|
@ -38,7 +40,7 @@ public class DynamicBucketBakedModel extends BaseDynamicFluidBakedModel {
|
|||
|
||||
@Override
|
||||
public Sprite getSprite() {
|
||||
return MinecraftClient.getInstance().getSpriteAtlas().getSprite(new Identifier("minecraft:item/bucket"));
|
||||
return new class_4730(SpriteAtlasTexture.BLOCK_ATLAS_TEX, new Identifier("minecraft:item/bucket")).method_24148();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue