mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-27 23:45:48 +00:00
[ci skip] spotlessApply with the new settings
This commit is contained in:
1 parent
83698cb73c
commit
84c2239244
561 files changed
+8872
-9300
No files matched your search
@@ -1,12 +1,14 @@
|
||||
package tconstruct.world.model;
|
||||
|
||||
import cpw.mods.fml.client.registry.*;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.client.renderer.RenderBlocks;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
|
||||
import tconstruct.util.ItemHelper;
|
||||
import cpw.mods.fml.client.registry.*;
|
||||
|
||||
public class BarricadeRender implements ISimpleBlockRenderingHandler {
|
||||
|
||||
public static int model;
|
||||
|
||||
public BarricadeRender() {
|
||||
@@ -14,8 +16,8 @@ public class BarricadeRender implements ISimpleBlockRenderingHandler {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean renderWorldBlock(
|
||||
IBlockAccess world, int x, int y, int z, Block barricade, int modelId, RenderBlocks renderer) {
|
||||
public boolean renderWorldBlock(IBlockAccess world, int x, int y, int z, Block barricade, int modelId,
|
||||
RenderBlocks renderer) {
|
||||
if (modelId == model) {
|
||||
int meta = world.getBlockMetadata(x, y, z);
|
||||
int type = meta % 4;
|
||||
|
||||
Reference in new issue
Block a user