Commit Graph

181 Commits

Author SHA1 Message Date
wizjany
58a7a2ed4f Prepare for MC 1.5.1 (specifically, Bukkit renames). 2013-03-20 17:40:22 -04:00
wizjany
1af61f827b Fix block setting while not in fast mode 2013-03-17 21:38:13 -04:00
wizjany
83d5e2fd22 Fix block rotations 2013-03-17 11:11:41 -04:00
wizjany
6c35d20306 Use correct method and mask to set blocks. 2013-03-16 17:15:00 -04:00
wizjany
0d52d22bd8 Fix for minecart naming 2013-03-16 12:23:22 -04:00
wizjany
e1fac30e62 Updated changelog for 5.5.2 2013-03-15 15:38:02 -04:00
wizjany
db9808cfd1 Update nmsblock classes for 1.5 2013-03-15 15:10:23 -04:00
Albert Pham
184d02d2e3 Updated BukkitWorld NMS fields to be static.
This prevents attempts at loading the proper NMS compatibility classes from occurring more than once.
2013-03-12 18:05:14 -07:00
Wizjany
87daba207a The idea was not to spam.
Really, I don't care what's wrong with you, class file.
2013-01-27 03:03:50 -05:00
Wizjany
5b0af07c3c Don't spam if we can't find a Nms Block 2013-01-20 02:10:05 -05:00
Wizjany
19d7beaf39 Added NmsBlocks for MCPC+ running MC 1.4.7.
Also fixed an issue with creative mode inventory usage not updating when
gamemode changed.
2013-01-20 01:44:29 -05:00
Wizjany
6abd48ab08 Add a config setting to allow creative mode players to override inventory setting. 2013-01-19 19:06:55 -05:00
Wizjany
89bdd8d9ba Tie up lose ends with NmsBlock class loading. 2013-01-19 18:33:23 -05:00
Wizjany
ad349aecb1 Support different NMS block classes depending on version.
- The .class files in the contrib folder of the zip go in
  plugins/WorldEdit/nmsblocks
- This allows us to swap new class files in without releasing
a completely new version each time
- Whatever version the last release is for has an inbuilt fallback
- If the plugin and server are mismatched and you have nothing in
  nmsblocks you're screwed
2013-01-18 03:17:52 -05:00
Wizjany
57327fd37f Add support for skull blocks. 2013-01-13 04:37:36 -05:00
Ammar Askar
4b50e0e453 Pass LocalPlayers to the EditSession getters for easy external access 2013-01-12 01:00:06 -05:00
Wizjany
e75b0ab34c Use CraftBukkit version 1.4.6 2013-01-12 00:47:10 -05:00
Wizjany
090052df5a Fail silently if correct NMS version is not found.
This will fix errors when trying to set blocks when using the wrong
minecraft version. However, if users want support for schematics or
copy/pasting blocks with advanced data (eg things not yet supported by
Bukkit like mob spawner potentials or blocks from mods), they will
have to use the WorldEdit version corresponding to their Minecraft
version.
2013-01-11 22:39:13 -05:00
Wizjany
79802bd4b9 Fix command logging.
No seriously, was the previous code even supposed to work?
2012-12-27 11:47:07 -05:00
Wizjany
6c189c4ff9 Added butcher flag for ambient mobs. 2012-12-25 18:42:43 -05:00
Wizjany
2aab0369b5 Added ALL and ITEM_FRAME to /remove'able entities 2012-12-25 16:44:54 -05:00
Wizjany
e4771416aa Added new items for 1.4.6
Fix permission for other help command (why are there two?)
- Made registerhelp read from yaml (not that the setting does anything)
Added an option to override data value limits.
- This should fix some mods which use data values above 16
- May cause issues if set to true and people mess with vanilla data values
2012-12-24 01:18:18 -05:00
aumgn
574f162019 Clean up warnings 2012-11-11 14:38:51 +01:00
Ammar Askar
04c00034cf Implement EditSessionFactory 2012-10-31 20:48:36 +05:00
zml2008
73dc31b2bb Only get the world's tile entity if the block id has a tile entity 2012-10-19 17:23:51 -07:00
sk89q
f5be1eb44b Removed BukkitWorld caching. 2012-10-19 15:44:24 -07:00
sk89q
0f49186bf5 Fixed reported bug that block #0 (air) is not considered valid.
Fixed a reported bug that block #0 (air) is not considered valid. Also set skipNmsValidBlockCheck to true if the check fails (as I assume was originally intended).
2012-10-18 23:12:53 -07:00
zml2008
877f14f242 Fixed NMS block set to copy tile entity data even if the original block did not change its id or data 2012-10-18 19:38:56 -07:00
zml2008
2221eae36a Fixed valid block check to not include items 2012-10-18 19:38:15 -07:00
aumgn
9637871969 Replace deprecated FallingSand by new FallingBlock 2012-08-27 13:35:10 +02:00
sk89q
18c793683b Fixed 4096/256 block ID restriction in BukkitWorld. 2012-08-24 13:38:26 -07:00
sk89q
885b48c15e Updated Bukkit dependency to 1.3.1-R2.0, added backwards support for NBT access. 2012-08-24 06:43:24 -07:00
TomyLobo
186fbb98a2 Changed all references to BaseItem.getDamage to getData. 2012-08-24 13:39:52 +02:00
sk89q
48af65cac3 Updated foundation classes a bit and added raw access for NBT. This release marks experimental support for custom blocks, and nearly all future Minecraft blocks, and is also the beginning of the gradual transition to the new foundation classes as a replacement of the current BaseBlock, etc. classes. 2012-08-23 16:52:37 -07:00
TomyLobo
499e73751d Fixed some warnings. 2012-08-11 04:35:01 +02: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
7bc66b8247 Removed unused imports. 2012-06-22 02:10:15 +02:00
zml2008
3104b73682 Fix WECUI not working for players when rejoining the server. Closes #196. 2012-06-14 10:49:38 -07:00
aumgn
6915244ab9 Add missing imports 2012-04-16 07:28:36 +02:00
zml2008
345cb5a690 Re-add painting spawning code (Still broken in Bukkit, need to look into
the issue more), have entity spawns use World.spawn instead of World.spawnCreature.
2012-04-15 18:33:28 -07:00
aumgn
8c36047cbb Fix warnings 2012-04-10 13:12:24 +02:00
aumgn
e86dc2c90b Biome clean up & fixes
Change BiomeType to an interface.
Do not longer use invalid biomes of Bukkit Biome enum.
Add a common unknown biome type.
2012-04-10 13:09:47 +02:00
Jim Nordbø
2ed92dafad Added WECUI handshake option 2012-04-07 13:29:00 -07:00
zml2008
c580d6efc4 Aparrantly this isn't shaded into Bukkit 2012-03-30 09:17:43 -07:00
zml2008
c76f119fa4 Added basic entity handling with copy and paste.
Paintings do not currently respawn properly, entity pastes cannot be undone yet, and schematics do not yet store entities
@celticminstrel needs to fix painting spawning
2012-03-29 21:18:14 -07:00
zml2008
73dbbbac9a Make sure all WorldEdit files are in the plugins/WorldEdit folder 2012-03-28 11:03:59 -07:00
zml2008
a4895cbd5d Added initial support for plugin channels with WECUI 2012-03-28 11:01:44 -07:00
zml2008
97c370549f Handle Bukkit versions without Chest#getBlockInventory() 2012-03-23 21:07:05 -07:00
zml2008
0702a0f0ac Improved Spout biome handling and add LocalWorld method for setting biome 2012-03-20 22:45:48 -07:00
aumgn
a8eeacccd4 Add biome support
Add a BiomeTypes interface
Add methods in ServerInterface to retrieve the implemented BiomeTypes
Add a getBiome method to LocalWorld and subclasses
Add /biomeinfo & /biomelist commands
Add a BiomeTypeMask
Closes #181
2012-03-20 18:09:48 -07:00