Skip to content

Commit

Permalink
Merge pull request #109 from Chainmail-Studios/vini2003
Browse files Browse the repository at this point in the history
Update Spinery.
  • Loading branch information
vini2003 authored Jun 26, 2020
2 parents a20f64b + 24bef43 commit c83cb3f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ mod_group = com.github.chainmailstudios

# Dependency
cardinal_components_version = 2.4.0
spinnery_version = 3.0.45+fabric-1.16.x
spinnery_version = 3.0.47+fabric-1.16.x
shapes_version = 1.2.1+build.7
arrp_version = 0.1.7
patchouli_version = 1.16-37.15-FABRIC
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public HolographicBridgeBlockEntityRenderer(BlockEntityRenderDispatcher dispatch
public void render(HolographicBridgeProjectorBlockEntity entity, float tickDelta, MatrixStack matrices, VertexConsumerProvider provider, int light, int overlay) {
BlockState b = entity.getWorld().getBlockState(entity.getPos());

if (entity.hasChild() && b.getBlock() instanceof HorizontalFacingBlock) {
if (entity.hasChild()) {
Vec3i pA = entity.getPos();

Direction d = b.get(HorizontalFacingBlock.FACING);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.github.chainmailstudios.astromine.registry;

import com.github.chainmailstudios.astromine.AstromineCommon;
import com.github.chainmailstudios.astromine.client.screen.*;
import com.github.chainmailstudios.astromine.common.container.*;
import net.fabricmc.api.EnvType;
Expand All @@ -23,7 +24,7 @@ public static void initialize() {
InGameHudScreen.addOnInitialize(() -> {
WInterface mainInterface = InGameHudScreen.getInterface();

GAS_IMAGE = mainInterface.createChild(WStaticImage::new, Position.of(4, 4, 0), Size.of(32, 32));
GAS_IMAGE = mainInterface.createChild(WStaticImage::new, Position.of(4, 4, 0), Size.of(32, 32)).setTexture(AstromineCommon.identifier("textures/symbol/oxygen.png"));
PRESSURE_TEXT = mainInterface.createChild(WStaticText::new, Position.of(4, 40, 0)).setScale(0.75F);
FRACTION_TEXT = mainInterface.createChild(WStaticText::new, Position.of(4, 50, 0)).setScale(0.5F);
});
Expand Down

0 comments on commit c83cb3f

Please sign in to comment.