LexManos
dedc02fa22
Move chunk compression to the network thread in Packet 51 and 56
...
This will reduce the server load considerably by doing the chunk data compression in writePacketData, which will be run from the network thread.
The chunk compression can easily use 1/4th of the overall server thread CPU time if someone is exploring much, especially when moving quickly (e.g. with quantum leggings).
Player, this is how it's properly done.
2012-12-23 23:31:13 -08:00
LexManos
0562fd85b9
Explicitly check if useItem is not denied, allows for denying the item without denying the block
2012-12-23 23:15:53 -08:00
LexManos
1c225a8d0d
Fix missed patch in EntityMinecart, #334
2012-12-23 23:04:11 -08:00
LexManos
878d230189
Delete unneeded patch.
2012-12-23 21:49:16 -08:00
Christian
ca881a8153
Fix Fireworks to always work in SMP
2012-12-22 07:09:21 -05:00
Christian
51c19dd5f1
Fix up enchantment at the enchanting table vs via a book. Adds in a method
...
that previously exists under a new name: canApplyAtEnchantingTable()
to determine enchantments that can apply at the enchanting table (a smaller
subset of all possible enchantments for an item, now). Also, add your
enchantments to the anvil book application list, if neccessary.
2012-12-21 15:44:41 -05:00
Christian
ced432f31d
Tweak packet56 to see if this resolves the apparent worldgen derpiness
2012-12-21 09:24:13 -05:00
Christian
3d5197ea33
Server side only item callback: allow a held item to decide if it wants to pass sneak-clicks through
...
to a block, or not. Defaults false- the same as the new vanilla behaviour (sneak clicks with an item
in hand don't activateBlock anymore).
2012-12-21 03:15:12 -05:00
Christian
708516e060
Move another patch up a bit - should actually close #329
2012-12-21 01:49:43 -05:00
Christian
b82cb25eea
Add IPlantable to itemseedfood. Potato and carrot support!
2012-12-20 21:40:36 -05:00
LexManos
dd8893a65c
Fixed cpw's derp in the PlayerInteractEvent logic.
2012-12-20 15:02:06 -08:00
LexManos
4cfffe784e
Updated NetClientHandler for onConnectionClosed placement fix.
2012-12-20 15:00:35 -08:00
Christian
c9d9fe8e3a
Fix ItemInWorldManager so that itemUseFirst works, and the playerinteractevent works. Minor patching mis hit. Apologies.
2012-12-20 10:52:08 -05:00
Christian
71fc299ac7
OK. AT the right thing, and add in a call to always get the right thing. Clean up patch fuzz too.
2012-12-20 08:48:14 -05:00
Christian
aed532636a
Drop the item in onBlockHarvested, not breakBlock
2012-12-18 22:17:02 -05:00
Christian
aca35c7571
Fix up block drops for skulls and cocoa
2012-12-18 22:10:15 -05:00
Christian
18f77fb10f
Fix binding the texture for multiple render passes. Thanks mdiyo! Closes #320
2012-12-18 13:32:48 -05:00
Christian
de15192bb8
Allow RenderItem to be easily overridden for things that need to render entityitems. IronChest, BuildCraft, RP2, whatever...
2012-12-18 10:57:04 -05:00
LexManos
d6c4f37eb5
Fixed items dieing improperly due to new EntityItem sync changes, also made items render offset when rendered in 3d.
2012-12-18 06:56:28 -08:00
Christian
efee38095b
Fix RenderItem so that forge textures load for it
2012-12-18 09:19:05 -05:00
LexManos
9833c5652c
Removed all functions marked as deperacted for the new MC version
2012-12-18 05:28:09 -08:00
LexManos
a2f4a0d2dd
Inital update to 1.4.6, Version bumped to 6.5
2012-12-17 22:33:28 -08:00
LexManos
2bdcc3a23a
Remove erronious double call to PlayerDestroyItemEvent
2012-12-16 18:02:45 -08:00
LexManos
be6667f733
Make PlaySoundAtEntityEvent fire for players as well
2012-12-16 18:02:11 -08:00
LexManos
ad42901b7e
Update patches for repackage.
2012-12-12 23:45:35 -08:00
Christian
3ed793bce5
Merge branch 'terraingen'
2012-12-12 21:13:20 -05:00
LexManos
d4a5b7e3a5
Fix shouldRiderSit() to properly determine if rider is sitting.
2012-12-12 02:24:47 -08:00
LexManos
0e82a3952d
Creative GUI will now remember what tab page you were on, thanks Matchlighter PR #290
2012-12-12 02:11:27 -08:00
LexManos
dfd9844c13
Pistons now respect world height a little better, for PR #286 , will review Rotation event later.
2012-12-12 01:58:24 -08:00
LexManos
599591e883
New TileEntity function to determine if the TE should be destroied when Block/Meta changes, For Issue #300
2012-12-12 01:55:12 -08:00
LexManos
ee0763fb4a
Add CloudRenderer for PR #304
2012-12-12 01:35:18 -08:00
LexManos
c48a15357b
Moved check if map cursor should 'spin' and which world a player respawns in to WorldProvider for PR #308
2012-12-12 01:22:43 -08:00
LexManos
03f1418924
Updated FML to 486:
...
02b54ca8: Add a modid on the mods list, should make it easier to do things like forge chunkloading config
70670f2f: Fix build eclipse extractor task
b9fa3fc9: Add in storage, detection and validation of the ItemID array between client and server
5e5d8206: Fixing id map generation - should validate correctly now
f9fc06a8: Remade python dist as 32-bit.
93d47a1c: Reenabled replacement of the eclipse folder.
2012-12-10 15:53:30 -08:00
Christian
3909cdb3ec
Fix RenderBlocks patch, touch branch
2012-12-07 16:43:15 -05:00
Scott Killen
768484d393
For @XCompWiz, added a hook to allow mods to dynamically change the color that water is rendered.
2012-12-07 16:43:15 -05:00
Scott Killen
079db5d854
Readded unchanged version
2012-12-07 16:43:15 -05:00
Scott Killen
f747a97b85
Removed unchanged file
2012-12-07 16:43:15 -05:00
Scott Killen
69ac1fa3a5
Added terrain gen events
...
Added biome color events for @XCompWiz
2012-12-07 16:43:15 -05:00
Chicken Bones
f1e3481c0a
Add Chunk Watch and UnWatch events.
2012-12-06 09:11:20 -05:00
LexManos
0243df1c4a
Fix issue where non-BlockContainer TEs would not be removed properly.
2012-11-30 20:22:50 -08:00
LexManos
e65c0a3d88
Fix issue where worlds were potentially unloaded improperly on server shutdown.
2012-11-29 04:05:00 -08:00
LexManos
e5231f306b
Added section of the EntityData NBT that will be persisted for players across respawning.
2012-11-27 16:52:08 -08:00
LexManos
820aa195bd
Merge pull request #269 from XCompWiz/chunkcon
...
Adds a more intelligent chunk constructor
2012-11-27 14:53:12 -08:00
LexManos
07a6e4ed5f
Fixed random chest items not generating to there max stack sizes.
2012-11-26 20:25:35 -08:00
LexManos
4bf2dbaeb7
Fixed issue with abandoned chunks.
2012-11-26 20:06:23 -08:00
Zach Laster
17151718aa
Fixes ordering for z & x loops (proper array increment order)
...
The ordering before would skip about in the ids and metadata arrays. This runs linearly and should improve performance.
Done live on github
2012-11-21 14:56:17 +02:00
XCompWiz
e8aaf81627
Fixes some weird formatting
2012-11-21 05:15:20 +02:00
XCompWiz
0eba8eeaab
Adds a more intelligent chunk constructor
...
Adds a chunk constructor with full block id range, that's metadata
sensitive, has intelligent coord ordering, and which allows for
generation at greater heights than 127.
2012-11-21 05:05:51 +02:00
Christian
957afc4d62
Move server specific patch back to common from minecraft.
...
Update FML: 1f5c58b
1f5c58b Fix up MCP version
61e4db2 Merge joined.exc add update howto
5efc1eb Revert "Fix MC-2497 - derpy torch flames. Moved from forge. Everyone sho
3b3600d Modified merger to just consider all server classes as common. And moved
edcc5ca Forgot mcp.cfg
ca79dfe Updated to 1.4.5b
5945279 Fix python error
57bf643 Modified decompile so that we do not have to decompile the server, saves
d9d0a46 Cleaned up some tabs
2fac644 Change usage of ZipFile, fixes issues with Mac's default instation of py
2012-11-20 09:09:06 -05:00
LexManos
2e2751e5c0
Fix TE Issue
2012-11-19 20:05:16 -08:00