Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Class for the minecolonies info Poster.
- */
- public class BlockInfoPoster extends BlockWallSign
- {
- /**
- * This blocks name.
- */
- private static final String BLOCK_NAME = "blockInfoPoster";
- /**
- * Constructor for the Substitution block.
- * sets the creative tab, as well as the resistance and the hardness.
- */
- public BlockInfoPoster()
- {
- super();
- initBlock();
- }
- /**
- * initialize the block
- * sets the creative tab, as well as the resistance and the hardness.
- */
- private void initBlock()
- {
- setRegistryName(BLOCK_NAME);
- setUnlocalizedName(String.format("%s.%s", Constants.MOD_ID.toLowerCase(Locale.ENGLISH), BLOCK_NAME));
- GameRegistry.register((new ItemBlock(this)).setRegistryName(this.getRegistryName()));
- GameRegistry.register(this);
- }
- }
- {
- "credit": "Made by [email protected]",
- "textures": {
- "0": "minecolonies:blocks/info/info_poster",
- "1": "minecolonies:blocks/info/info_poster_wax"
- },
- "elements": [
- {
- "name": "cube",
- "from": [2, 0, 0],
- "to": [14, 8, 0],
- "faces": {
- "north": {
- "uv": [0, 0, 16, 10.66640625],
- "texture": "#0"
- },
- "east": {"uv": [0, 0, 1, 8], "texture": "#missing"},
- "south": {
- "uv": [0, 0, 12, 8],
- "texture": "#missing"
- },
- "west": {"uv": [0, 0, 1, 8], "texture": "#missing"},
- "up": {"uv": [0, 0, 12, 1], "texture": "#missing"},
- "down": {"uv": [0, 0, 12, 1], "texture": "#missing"}
- }
- },
- {
- "name": "cube",
- "from": [6.5, -1, -0.2],
- "to": [9.5, 2, -0.2],
- "faces": {
- "north": {"uv": [0, 0, 16, 16], "texture": "#1"},
- "east": {"uv": [0, 0, 0, 3], "texture": "#missing"},
- "south": {
- "uv": [0, 0, 3, 3],
- "texture": "#missing"
- },
- "west": {"uv": [0, 0, 0, 3], "texture": "#missing"},
- "up": {"uv": [0, 0, 3, 0], "texture": "#missing"},
- "down": {"uv": [0, 0, 3, 0], "texture": "#missing"}
- }
- },
- {
- "name": "cube",
- "from": [6.5, -4, 0],
- "to": [9.5, 1.25, 0],
- "faces": {
- "north": {
- "uv": [0, 10.66640625, 3, 15.91640625],
- "texture": "#0"
- },
- "east": {"uv": [0, 0, 1, 3], "texture": "#missing"},
- "south": {
- "uv": [0, 0, 3, 3],
- "texture": "#missing"
- },
- "west": {"uv": [0, 0, 1, 3], "texture": "#missing"},
- "up": {"uv": [0, 0, 3, 1], "texture": "#missing"},
- "down": {"uv": [0, 0, 3, 1], "texture": "#missing"}
- }
- }
- ],
- "groups": [0, 1, 2]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement