Great Renaming, Part 1 - Blocks & deobfParams (#106)

Co-authored-by: glowredman <[email protected]>
This commit is contained in:
Nikolay S.andglowredman authored and boubou19 committed 2025-10-19 16:54:06 +02:00
1 parent 93cef522ab
commit af9b0db103
138 files changed
+1096 -1093

No files matched your search

@@ -61,15 +61,15 @@ public class BlockBifrost extends BlockModContainer<TileBifrost> implements ILex
return new ItemStack(ModItems.rainbowRod);
}
public boolean shouldSideBeRendered1(IBlockAccess p_149646_1_, int p_149646_2_, int p_149646_3_, int p_149646_4_, int p_149646_5_) {
Block block = p_149646_1_.getBlock(p_149646_2_, p_149646_3_, p_149646_4_);
public boolean shouldSideBeRendered1(IBlockAccess worldIn, int x, int y, int z, int side) {
Block block = worldIn.getBlock(x, y, z);
return block == this ? false : super.shouldSideBeRendered(p_149646_1_, p_149646_2_, p_149646_3_, p_149646_4_, p_149646_5_);
return block == this ? false : super.shouldSideBeRendered(worldIn, x, y, z, side);
}
@Override
public boolean shouldSideBeRendered(IBlockAccess p_149646_1_, int p_149646_2_, int p_149646_3_, int p_149646_4_, int p_149646_5_) {
return shouldSideBeRendered1(p_149646_1_, p_149646_2_, p_149646_3_, p_149646_4_, 1 - p_149646_5_);
public boolean shouldSideBeRendered(IBlockAccess worldIn, int x, int y, int z, int side) {
return shouldSideBeRendered1(worldIn, x, y, z, 1 - side);
}
@Override
@@ -93,7 +93,7 @@ public class BlockBifrost extends BlockModContainer<TileBifrost> implements ILex
@Override
@SideOnly(Side.CLIENT)
public void registerBlockIcons(IIconRegister par1IconRegister) {
public void registerBlockIcons(IIconRegister register) {
// NO-OP
}