Skip to content

Commit

Permalink
wip: More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
BlayTheNinth committed Jun 30, 2024
1 parent 8459032 commit 28fc68b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,11 @@ public LootDataResolver getLootTableManager() {
return Balm.getHooks().getServer().getLootData();
}

return null; // TODO
return null; // TODO this will probably break JEI on multiplayer?
}

/**
* @deprecated Can't remove yet because we need it in ChickenStickItem isCorrectToolForDrops/getDestroySpeed where we don't have level access.
* @deprecated Can't remove yet because we need it in ChickenStickItem isCorrectToolForDrops/getDestroySpeed where we don't have level access. maybe we can use ExRegistries instead
*/
@Override
@Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public void render(AbstractAutoSieveBlockEntity blockEntity, float partialTicks,
poseStack.translate(0.5f, 0f, 0.5f);
poseStack.mulPose(new Quaternionf(new AxisAngle4f(RenderUtils.getRotationAngle(blockEntity.getFacing()), 0f, 1f, 0f)));

// TODO human is laying on the sieve
// Render the tiny human
poseStack.pushPose();
poseStack.mulPose(new Quaternionf(new AxisAngle4f(90, 0, 1f, 0)));
Expand Down Expand Up @@ -103,7 +104,8 @@ public void render(AbstractAutoSieveBlockEntity blockEntity, float partialTicks,

SieveModelBounds bounds = HeavySieveBlock.SIEVE_BOUNDS;

// Render the sieve mesh
// Render the sieve mesh TODO rendering with missing texture
// TODO iron mesh is not considered a mesh? maybe because nihilo is installed?
SieveMeshRegistryEntry mesh = blockEntity.getSieveMesh();
if (mesh != null) {
BakedModel meshModel = ModModels.meshes.get(mesh.getModelName()).get();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ public class ModTags {
public static void initialize(BalmRegistries registries) {
MINEABLE_WITH_HAMMER = TagKey.create(Registries.BLOCK, new ResourceLocation("excompressum", "mineable/hammer"));
MINEABLE_WITH_CROOK = TagKey.create(Registries.BLOCK, new ResourceLocation("excompressum", "mineable/crook"));
HAMMERS = registries.getItemTag(new ResourceLocation("excompressum", "hammer"));
COMPRESSED_HAMMERS = registries.getItemTag(new ResourceLocation("excompressum", "compressed_hammer"));
HAMMERS = registries.getItemTag(new ResourceLocation("excompressum", "hammers"));
COMPRESSED_HAMMERS = registries.getItemTag(new ResourceLocation("excompressum", "compressed_hammers"));
CHICKEN_STICKS = registries.getItemTag(new ResourceLocation("excompressum", "chicken_sticks"));
COMPRESSED_CROOKS = registries.getItemTag(new ResourceLocation("excompressum", "compressed_crooks"));
}
Expand Down

0 comments on commit 28fc68b

Please sign in to comment.