8fafef2f7f
Added tagType parameter to ListTag constructor, remove some boilerplate code
2017-10-08 13:28:01 +01:00
fc9c264e77
Resend blocks around targeted blocks when interactions & block-break are cancelled, fixes #906
...
this solution is dumber but more effective (also solves the beds & doors placement problem)
2017-10-03 19:28:01 +01:00
c09d782503
Fix #145 , take 2 (slab placement in half gaps doesn't work) ( #1411 )
2017-10-01 16:19:59 +01:00
b76b9d53fe
Fixed drops for DeadBush
2017-09-30 21:04:39 +01:00
27798c69ee
fix collision detection not detecting fence & fence-gate, fixed nether-brick fence gate AABB, close #1299
2017-09-29 15:27:14 +01:00
a33be643c4
Fixed falling blocks not falling when placed above fire, close #1425
...
yes, hardcoding this is not a nice solution - PC also does this, want to fight?
2017-09-29 14:53:23 +01:00
d0bf0ff083
Imports cleanup
2017-09-28 10:51:05 +01:00
c47f1f572c
Added API method Item->pop()
2017-09-27 10:56:04 +01:00
90cb018de2
Re-organise some Block code
2017-09-26 19:39:05 +01:00
992c4ce6a0
Added API method Block->getVariant()
2017-09-26 19:35:04 +01:00
78af87a572
ConcretePowder: add tool type
2017-09-26 19:00:53 +01:00
c79a5509f6
Implemented concrete powder
...
this is a little buggy with water updating due to a hack for liquids to fix a CPU leak (210bdc2436
), but everything works fine when a block nearby gets updated.
2017-09-26 18:56:43 +01:00
f5b0cbb337
Generated some TODOs for BlockFactory & ItemFactory
2017-09-26 16:15:35 +01:00
6e961ae897
Addition of Coarse Dirt ( #1396 )
2017-09-23 22:25:03 +01:00
c8fd0eaf8b
Removed autogenerated stub TODO from BoneBlock
2017-09-21 19:50:03 +01:00
c6670b2e74
Fixed Nether Wart's name
2017-09-21 16:56:41 +01:00
0e2e9aab2e
Fixed crash when block classes override the constructor but don't specify a fallback name
2017-09-21 16:43:33 +01:00
1b5fed983b
Revert "Fixed slab placement, close #145 ", reopen #145 , close #1314
...
This reverts commit f2ff0198cc
.
2017-09-21 14:41:18 +01:00
5aba87b250
Added brown and red mushroom blocks
2017-09-21 14:07:51 +01:00
6b34c47c96
Merge branch 'master' into mcpe-1.2
2017-09-14 18:16:45 +01:00
23a38400e2
Added CraftingGrid and BigCraftingGrid, WIP stuff for crafting
...
moving whole stacks in & out of the crafting grid works now, splitting stacks is fucked up because the transaction system can't handle the same slot changing multiple times in one transaction
2017-09-12 19:34:06 +01:00
07268e4b37
Added API methods to determine if a block or item is already registered
2017-09-11 16:22:55 +01:00
78d49f8e66
Merge branch 'php/7.0' into mcpe-1.2
2017-09-03 15:02:41 +01:00
bb9299070d
Fixed several Cake bugs
...
fixed cake flat-out doesn't work
fixed last slice of cake vanishing (NOOOOO)
fixed EntityEatBlockEvent not getting called
made AABB calculation less confusing
2017-09-03 13:09:53 +01:00
aa9fd1b4f9
Remove redundant gamemode checks
...
The caller will check the player's gamemode, so there is no use for these checks.
2017-09-03 12:22:37 +01:00
5d75d3d5b6
Merge branch 'php/7.0' into mcpe-1.2
2017-09-01 23:10:58 +01:00
138d85307b
Fixed double chests being openable when the other half has a solid block above it, close #1165
2017-09-01 16:50:55 +01:00
ea5bd0348a
Fixed liquid flow attempting to set negative block damage values
...
This should only execute if the current liquid block is actually still existent. When decay is negative, it means the water block doesn't exist anymore.
2017-08-29 14:22:12 +01:00
6abef6b22d
Made block and item factory lists private to stop people doing stupid things with them
2017-08-29 10:53:01 +01:00
b5d2402c9b
Merge branch 'master' into mcpe-1.2
2017-08-28 18:02:09 +01:00
37b050f864
Return an UnknownBlock if the BlockFactory hasn't been initialized yet
2017-08-28 17:07:39 +01:00
badd669b3d
Removed use of literal ints for block ID checks in Dandelion
2017-08-27 16:16:37 +01:00
c7fd3eb725
Merge branch 'master' into mcpe-1.2
2017-08-27 16:09:23 +01:00
6d5620606e
Block->place() parameter refactor to make things clearer
2017-08-26 14:41:49 +01:00
9e142655ea
Removed redundant count parameter from item constructors, added some documentation and tightened safety checks
...
the count parameter is useless since Item ctor should now only be used for constructing item _types_, not actual items. All item creations for inventories etc, should go through the ItemFactory.
2017-08-25 19:06:23 +01:00
1fec16f167
Fix Block::get() regression introduced in 02f42eba
2017-08-25 18:15:53 +01:00
97911aa9cf
Fix undetected collision of nether brick block and nether brick item
2017-08-25 13:36:36 +01:00
cd7724d94a
Added concrete
2017-08-25 13:13:11 +01:00
76e213ae73
Cleaned up shared rotation code, fixed quartz pillar rotation, added bone blocks
2017-08-25 13:06:16 +01:00
8ce833bf74
Stripped redundant trailing commas
2017-08-25 12:41:49 +01:00
ba27fff853
Fix formatting derp
2017-08-25 11:53:41 +01:00
80f2519d7d
Fixed obsidian hardness, no more destroying obsidian with TNT
2017-08-25 11:52:46 +01:00
ebda6ec19b
Cleaned up random-block-ticking registration
2017-08-25 11:47:38 +01:00
2443a57234
Merge branch 'master' into mcpe-1.2
2017-08-24 11:57:41 +01:00
d6266d19b6
Added correct friction factor for ice & packed-ice
2017-08-23 18:38:09 +01:00
770616d4ab
Merge branch 'master' into mcpe-1.2
2017-08-22 20:48:32 +01:00
0712979908
Fixed blastResistance array not being initialized
2017-08-22 19:45:53 +01:00
445a67954d
Merge changes from master
2017-08-22 14:13:31 +01:00
8a35b9da29
Added some documentation
2017-08-22 10:28:43 +01:00
b8ade18888
Fixed double plants and beds sometimes dropping in creative
2017-08-21 19:25:04 +01:00