Update for changes in minecraft 1.7
Peter200lx opened this issue ยท 4 comments
Blocks changed
Wood Planks
Added Acacia and Dark Oak
0 Oak Wood Planks
1 Spruce Wood Planks
2 Birch Wood Planks
3 Jungle Wood Planks
4 Acacia Wood Planks
5 Dark Oak Wood Planks
Dirt
Added Podzol
0 Dirt
1 Grassless Dirt
2 Podzol
Saplings
Added Acacia and Dark Oak
0 Oak Sapling
1 Spruce Sapling
2 Birch Sapling
3 Jungle Sapling
4 Acadia Sapling
5 Dark Oak Sapling
Sand
Data values now matter, Red Sand added
0 Sand
1 Red Sand
Wooden Slabs
Added Acacia and Dark Oak
0x0 Oak Wood Slab
0x1 Spruce Wood Slab
0x2 Birch Wood Slab
0x3 Jungle Wood Slab
0x4 Acacia Wood Slab
0x5 Dark Oak Wood Slab
Redstone Comparator
In 1.5 BlockId 150 (active) is used for the power state and the 4th highest bit is not used:
From 1.6 on BlockId 150 is not used and the power state is determined by the 4th highest bit:
0: Comparator is off
1: Comparator is on (two input torches on, and surface shown as lit)
Monster Egg
Added Mossy, Cracked and Circle textures
0 0000 Stone monster egg
1 0001 Cobblestone monster egg
2 0010 Stone brick monster egg
3 0011 Mossy stone brick monster egg
4 0100 Cracked stone brick monster egg
5 0101 Circle stone brick monster egg
New Blocks added
38 26 minecraft:red_flower Poppy D B
95 5F minecraft:stained_glass Stained Glass
160 A0 minecraft:stained_glass_pane Stained Glass Pane D
161 A1 minecraft:leaves2 Leaves (Acacia/Dark Oak) D B
162 A2 minecraft:log2 Wood (Acacia/Dark Oak) D B
163 A3 minecraft:acacia_stairs Acacia Wood Stairs D
164 A4 minecraft:dark_oak_stairs Dark Oak Wood Stairs D
174 AE minecraft:packed_ice Packed Ice
175 AF minecraft:double_plant Large Flowers D B
- D = Requires Data
- B = Requires Damage
- I = inventory item different
- T = Requires Tile Entry
Wood 2 (Acacia/Dark Oak)
0 0 0000 Acacia wood facing up/down
1 1 0001 Dark Oak wood facing up/down
2 2 0010 Acacia wood facing up/down, placeholder
3 3 0011 Dark Oak wood facing up/down, placeholder
4 4 0100 Acacia wood facing East/West
5 5 0101 Dark Oak wood facing East/West
6 6 0110 Acacia wood facing East/West, placeholder
7 7 0111 Dark Oak wood facing East/West, placeholder
8 8 1000 Acacia wood facing North/South
9 9 1001 Dark Oak wood facing North/South
10 A 1010 Acacia wood facing North/South, placeholder
11 B 1011 Dark Oak wood facing North/South, placeholder
12 C 1100 Acacia wood with only bark
13 D 1101 Dark Oak wood with only bark
14 E 1110 Acacia wood with only bark
15 F 1111 Dark Oak wood with only bark
Leaves 2 (Acacia/Dark Oak)
If bit 0x4 is set, the leaves are permanent and will never decay. This bit is set on player-placed leaf blocks and overrides the meaning of bit 0x8.
If bit 0x8 is set, the leaves will be checked for decay. The bit will be cleared after the check if the leaves do not decay. The bit will be set again whenever a block adjacent to the leaves is changed.
0 Acadia leaves
1 Dark Oak leaves
Stained Glass
These values are the same as wool, going from 0 to 15 for the 16 different colors. See Wool, Stained Clay & Carpet for the data values.
Flower (item id 38? red_flower)
Data values now matter, red flower removed
0x0 Poppy
0x1 Blue Orchid
0x2 Allium
0x3 Azure Bluet
0x4 Red Tulip
0x5 Orange Tulip
0x6 White Tulip
0x7 Pink Tulip
0x8 Oxeye Daisy
Large Flowers
Warning, this data block is split into two halves like doors and beds
0x0 Sunflower
0x1 Lilac
0x2 Double Tallgrass
0x3 Large Fern
0x4 Rose Bush
0x5 Peony
>= 8 Top Half of any Large Plant; low three bits 0x7 are not set to the plant type, they are derived from the block below.
Acacia & Dark Oak stairs
These follow the same rules as the rest of the stair blocks
Blocks removed
Many technical block items removed: http://minecraft.gamepedia.com/Technical_blocks
38 Red Rose
95 Locked Chest
150 Redstone Comparator On
Scrolling support for Wood Planks, Saplings, and Wood Slabs should automatically work once Bukkit fixes support. Bukkit/Bukkit#974 / https://bukkit.atlassian.net/browse/BUKKIT-4988
... This is a bigger task then first thought. I'll add support internally to ToolBelt with the bit values for now. If the direction for the fix for Bukkit is decided later I'll update the implementation internal to ToolBelt.
Watch gmcferrin/enumUpdates to hopefully keep on top of the future path for Bukkit's support of MaterialData classes.
https://github.com/Bukkit/Bukkit-Bleeding/compare/gmcferrin;enumUpdates
Additional block changed: Flower Pot
For Flower Pot blocks placed after Minecraft version 1.7, the plant contained in the pot is stored in the associated Tile Entity. See Tile Entity Format for details. The absence of a tile entity indicates either an empty Flower Pot, or one whose block was placed prior to version 1.7.
Because of this flower pots are no longer able to be modified by ToolBelt in MC1.7