Commit Graph

1611 Commits

Author SHA1 Message Date
snaxson
00e6a3aa65 Fix loading schematic files with block data values >127
Minecraft 1.3 introduces several blocks with data values
over 127, such as sandstone stairs (128).  Since byte
is signed, implicit conversion to short results in
negative block data values that cause later IndexOutOfBounds
exceptions.  This change explicitly masks off the extended
sign bits so the result is positive.
2012-08-15 13:25:24 +02:00
TomyLobo
5e4c809f66 Added ender chest to flip/rotate. 2012-08-14 01:32:35 +02:00
TomyLobo
bcf4204ffc Added tripwire hook to flip/rotate. 2012-08-14 01:30:45 +02:00
TomyLobo
df3062a68f Added cocoa plant to cycle/flip/rotate. 2012-08-14 01:20:50 +02:00
TomyLobo
3497d9e557 Added 1.3 stairs and wooden steps to cycle/flip/rotate. 2012-08-14 01:20:50 +02:00
TomyLobo
b07a084b8a Added cocoa plant to centralTopLimit. 2012-08-14 01:18:31 +02:00
TomyLobo
e8ea4e4ef1 Added 1.3 blocks to getBlockBagItem. 2012-08-14 00:35:24 +02:00
TomyLobo
082871f46d Added 1.3 blocks to isContainerBlock. 2012-08-13 23:59:37 +02:00
TomyLobo
c2d7ab5bff Added 1.3 blocks to isRedstoneBlock. 2012-08-13 23:57:53 +02:00
TomyLobo
0b0b39b025 Added 1.3 blocks to isRedstoneSource. 2012-08-13 23:57:12 +02:00
TomyLobo
7c4cf0494f Added 1.3 blocks to isNaturalTerrainBlock. 2012-08-13 23:56:20 +02:00
TomyLobo
22ed05576c Added 1.3 blocks to emitsLight. 2012-08-13 23:55:10 +02:00
TomyLobo
38a1d8fcc1 Added 1.3 blocks to isTranslucent. 2012-08-13 23:53:42 +02:00
TomyLobo
ad4213e1e3 Added leaves, piston extension, mobspawner, wooden/cobble stairs, chest and cactus to isTranslucent. 2012-08-13 23:52:47 +02:00
TomyLobo
ec4dbac165 Added 1.3 blocks to getAttachment. 2012-08-13 23:41:25 +02:00
TomyLobo
42a64f72a1 Added 1.3 blocks to shouldPlaceLast. 2012-08-13 23:28:36 +02:00
TomyLobo
d88691d450 Added 1.3 blocks to canPassThrough. 2012-08-13 23:26:28 +02:00
TomyLobo
69cf59565b Added 1.3 blocks to usesData. 2012-08-13 23:23:50 +02:00
TomyLobo
094909c7e1 Fixed for SpoutAPI changes. 2012-08-13 19:40:13 +02:00
TomyLobo
0e897778b0 Removed lily pad from canPassThrough. 2012-08-12 16:00:14 +02:00
TomyLobo
edcccfce5f Made findFreePosition and setOnGround respect half-blocks and such. 2012-08-12 16:00:14 +02:00
TomyLobo
aaa01eb608 meh 2012-08-12 16:00:13 +02:00
TomyLobo
b2e442e53d Added BlockType.centralTopLimit.
Returns the y offset a player falls to when falling onto the top of a block at xp+0.5/zp+0.5.
2012-08-12 15:56:47 +02:00
Ammar Askar
d40ef103ba Update for 1.3 blocks 2012-08-12 14:41:50 +02:00
sk89q
6c94469550 Whoops, forgot wagon in pom.xml. 2012-08-11 00:01:37 -07:00
sk89q
95d6ae6475 Updated pom.xml for license, distributionManagement, maven-site-plugin. 2012-08-10 23:41:52 -07:00
TomyLobo
499e73751d Fixed some warnings. 2012-08-11 04:35:01 +02:00
TomyLobo
aa844c1a11 Made Bukkit and dummypermscompat dependencies optional. 2012-08-10 23:08:54 +02:00
zml2008
880db5954e Update WorldEditCUIMessage for Message being an interface 2012-08-08 14:12:06 -07:00
zml2008
853bc53e21 /me is an idiot and forgot that WECUI packets don't have the string length in them (string length == packet length) 2012-08-07 14:14:40 -07:00
zml2008
fe445a7ec9 Remove chat-based WECUI protocol. Everybody running a modern (1.2.5 or newer) WECUI should be fine.
This has a bonus of allowing us to stay far far away from that smelly PlayerChatEvent guy who's always late (or early, or both).
2012-08-04 20:24:17 -07:00
TomyLobo
ce20f33425 Marked Spout dependencies as optional. 2012-08-03 14:10:55 +02:00
TomyLobo
9c3a449066 Updated Vanilla dependency to 1.3.0-SNAPSHOT. 2012-08-03 14:10:20 +02:00
TomyLobo
5183726c39 Fixed some warnings. 2012-08-03 14:09:13 +02:00
zml2008
d0684c7582 Add initial implementation of WECUI handling via Packet250 for Spout
Update for latest Spout changes
2012-08-02 19:26:19 -07:00
Zhuowei Zhang
b81fec1776 Various Spout fixes:
switched to VanillaMaterials from MaterialRegistry
use the Minecraft ID instead of the Spout ID
use the block coordinates from a Point to fix blocks' coordinates being off by 1
added a very rudimentary implementation of the tree generator; only standard small trees are generated
fixed some variables' names
2012-07-29 21:51:54 -07:00
zml2008
30f9fb16ac Updated for SpoutAPI changes 2012-07-29 00:03:34 -07:00
TomyLobo
bb5f3477c2 //chunk no longer switches from //sel extend to //sel cuboid. 2012-07-28 14:50:01 +02:00
TomyLobo
afb9052cc9 ExtendingCuboidRegionSelector's ctor now requires a LocalWorld. 2012-07-28 14:49:30 +02:00
TomyLobo
29393a808b Updated for SpoutAPI changes. 2012-07-28 14:48:38 +02:00
TomyLobo
97876d8581 Upped Bukkit dependency version to 1.2.4-R4.1. 2012-07-14 00:16:58 +02:00
TomyLobo
6c413289be Added [g]closest(x,y,z,index,count,stride) to the expression parser.
This function reads <count> x/y/z triplets from [g]megabuf, starting at <index> and advancing <stride> elements each time.
It then finds the element closest to the given coordinates.
2012-07-13 17:29:21 +02:00
TomyLobo
613f3884d4 Reorganized megabuf a bit. 2012-07-13 12:24:14 +02:00
TomyLobo
fd4e94220f Fixed a NullPointerException in ifs without an else.
The NPE occured if the condition was not optimizable to a constant.
2012-07-13 12:20:33 +02:00
zml2008
9f2f2fc6c9 Move block ids over even if there isn't an AddBlocks tag in schematics 2012-07-12 16:31:35 -07:00
sk89q
b6fd8af242 Disable fast mode usage for snapshot restore. 2012-07-10 00:23:32 -07:00
sk89q
97380f28de Fixed snapshots not properly loading .mcr files, made snapshots use fast mode. 2012-07-09 23:56:30 -07:00
zml2008
0d279e7706 Added initial support for AddBlocks (4096 ids) in schematics 2012-07-08 04:05:24 -07:00
zml2008
127b0ec6f4 Corrected name of SpoutAPI plugin description file 2012-07-08 04:05:24 -07:00
zml2008
ca6ee43f9d Update for ChatStyle changes in SpoutAPI 2012-07-08 04:05:24 -07:00