Use Glowing Obsidian For Background
All checks were successful
Twine/pipeline/head This commit looks good
All checks were successful
Twine/pipeline/head This commit looks good
This commit is contained in:
parent
0ec13d83fd
commit
cdf0910a27
@ -21,7 +21,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
|||||||
@Environment(EnvType.CLIENT)
|
@Environment(EnvType.CLIENT)
|
||||||
@Mixin(BoatEntityRenderer.class)
|
@Mixin(BoatEntityRenderer.class)
|
||||||
public class MixinBoatEntityRenderer {
|
public class MixinBoatEntityRenderer {
|
||||||
@Inject(at = @At(value = "INVOKE", target = "Lnet/minecraft/client/util/math/MatrixStack;pop()V"), method = "render")
|
@Inject(at = @At(value = "INVOKE", target = "Lnet/minecraft/client/util/math/MatrixStack;pop()V"), method = "render", allow = 1)
|
||||||
public void render(BoatEntity boatEntity, float f, float g, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int i, CallbackInfo info) {
|
public void render(BoatEntity boatEntity, float f, float g, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int i, CallbackInfo info) {
|
||||||
BlockState blockState = Block.getBlockFromItem(((BoatUtil) boatEntity).getChestItem()).getDefaultState();
|
BlockState blockState = Block.getBlockFromItem(((BoatUtil) boatEntity).getChestItem()).getDefaultState();
|
||||||
if (blockState.getRenderType() != BlockRenderType.INVISIBLE) {
|
if (blockState.getRenderType() != BlockRenderType.INVISIBLE) {
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
"description": {
|
"description": {
|
||||||
"translate": "advancements.twine.root.description"
|
"translate": "advancements.twine.root.description"
|
||||||
},
|
},
|
||||||
"background": "minecraft:textures/gui/advancements/backgrounds/stone.png",
|
"background": "twine:textures/block/glowing_obsidian.png",
|
||||||
"show_toast": false,
|
"show_toast": false,
|
||||||
"announce_to_chat": false
|
"announce_to_chat": false
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user