Commit Graph

138 Commits

Author SHA1 Message Date
LexManos 520550dab9 Location aware version og Block.lightOpacity for PR #169 2012-09-26 22:12:47 -07:00
LexManos 6ec887b34f Missing updates from last commit 2012-09-26 22:12:01 -07:00
LexManos 0e5c0be23e Added preliminarty Player Interact event heavily based on the bukkit event. 2012-09-26 21:18:18 -07:00
LexManos 63aa706dcf Add PlayerEvent.HarvestCheck and PlayerEvent.BreakSpeed for dealing with things related to a player harvesting a block. 2012-09-26 17:54:15 -07:00
Christian 5fb999fa22 Add in an "EntityEvent.EnteringChunk" event. Useful for your entity chunkloading stuff. 2012-09-26 08:52:40 -04:00
Christian 384f795d52 Some more tweaks to the chunkloading code. The world.load event fires slightly later- once the entity watcher is
set up, so entities can actually load into the server world. Also, tickets actually save and load properly
and null entities don't break the server
2012-09-25 19:12:10 -04:00
Christian 4dd3d2cfd7 Update FML: dd39ae5
dd7502a Fix parent child counts showing properly. Closes #107 thanks scott!
b36d447 It's useMetadata, not usesMetadata. thanks myrathi and psx. closes #110
efb1066 Fix random shuffling when manipulating biomes by using a LinkedHashSet to preserve iteration order. Closes #111
2012-09-25 19:10:15 -04:00
LexManos 5285e1d918 > != >= 2012-09-25 06:33:01 -07:00
LexManos c20b71eb20 Fire off PlayerDestroyItemEvent for crafting contianer items that get damaged to much. PR #183 2012-09-24 22:44:42 -07:00
Christian 0fd2b137ac Some more fixes for chunkloading code. Works very reliably now. 2012-09-23 23:08:38 -04:00
Christian 56a87604f6 Simple chunk caching capability for the chunkloader. This will store "dormant" chunks in a
configurable cache, potentially saving the cost of reloading them from disk.
2012-09-23 23:08:38 -04:00
Christian 4c61f1d202 Remove @SideOnly flag for function now required on the server 2012-09-23 23:08:38 -04:00
Christian 9640c5dcf9 A lot of tweaks to the chunkloading for entity behaviour. Entities are now bound by a new
persistent id they *all* have, on the server side.
2012-09-23 23:08:38 -04:00
Christian c684360f51 Working cross dimensional implementation of chunkloading for Forge. 2012-09-23 23:08:38 -04:00
Christian d21e3ae218 Simple chunkloading implementation 2012-09-23 23:08:38 -04:00
LexManos a9e3a4dbb9 Fix patch errors in merge of last PR -.- 2012-09-23 16:53:20 -07:00
micdoodle8 d00f6f52bb Update patches/common/net/minecraft/src/WorldProvider.java.patch
Fixed WorldProvider.setDimension() setting the wrong variable.
2012-09-23 03:07:48 -03:00
LexManos b06829e26a Fix accedental doubling of shift, Fixes saplings/flowers planting a space above where they should 2012-09-21 05:35:46 -07:00
LexManos 28d2460611 New Plant API that allows for custom plants/soils. 2012-09-20 19:53:43 -07:00
LexManos c3f9fed484 Added new hooks for modifying the items generated in chests during world gen. 2012-09-20 18:45:33 -07:00
LexManos cf3bc6a9d9 Redirect a lot of functions through WorldProvider for Mystcraft, allowing them to be overriden by the provider. 2012-09-18 21:31:17 -07:00
LexManos 8c76914ef2 Merge pull request #175 from iChun/patch-2
Fix pick block key giving invalid spawn eggs
2012-09-18 19:47:15 -07:00
LexManos c2d53e7651 Added side sensitivity to standard EntityDiggingFX, added Block functions to override spawning of digging and breaking effects. 2012-09-18 19:23:36 -07:00
iChun cbf88adc98 Logic derp (again) 2012-09-18 22:55:11 +08:00
iChun 3188218a37 Logic derped 2012-09-18 22:53:28 +08:00
iChun 8940b13512 Fix pick block key giving invalid spawn eggs 2012-09-18 21:37:48 +08:00
LexManos 8948a00d60 Readd reverted EntityLiving patch 2012-09-15 19:40:58 -07:00
LexManos 04c149fa11 Merge remote-tracking branch 'origin/master' 2012-09-15 19:39:54 -07:00
LexManos 62700fa7a8 96537dc - Fixup Item in hand rendering of textures > 16x
e88ddc5 - Make the exception print for headless servers if the Downloader cant initalize.
f24ff07 - Remove a bunch of warning about javadoc, not a real fix, but no more warning.
3420ea7 - Update MCP Mapings
87104f0 - Makes GetModSrc check the common folder when attempting to extract source files
640446b - Tie parent/child containers together again. Should close #96
2cf4917 - Village mating produces added villagers, and the egg should place added villagers too. Closes #97.
6394ee8 - Clean up stale references to the Player stored in the NetworkRegistry, closes #100
7299e05 - Merge pull request #99 from CovertJaguar/patch-1
c4bd040 - More readable init logs
2012-09-15 19:36:08 -07:00
LexManos a44181a192 Move spawn fuzz to WorldProvider/WorldType, useful for VoidWorld types. 2012-09-11 18:30:09 -07:00
LexManos af6b8820d4 Allow for respawning in different dimensions. 2012-09-11 18:28:55 -07:00
LexManos aeebb6e9f9 Add ability for Items to create custom Entities for themselves when added to the world, PR: #151 2012-09-11 17:35:53 -07:00
LexManos 96c13d9049 Merge pull request #146 from dries007/Fly
Allow flight permissions to be player sensitive
2012-09-11 16:09:49 -07:00
LexManos 769f18ee61 Implemented isBlockFoliage for pull #141 2012-09-11 15:52:04 -07:00
LexManos 4524435e25 Fix a few patch fuzzes 2012-09-11 15:51:26 -07:00
LexManos 03d1e51764 New EntityItem related events
Fixed player death event in SMP
Added Player specific drops event
Added generic EntityJoinWorldEvent
2012-09-11 15:27:34 -07:00
LexManos da501613ac Clean up some javadoc warnings. 2012-09-11 13:11:17 -07:00
LexManos 8882388902 Fix FillBucketEvent to work with stacked buckets. New change in 1.3 2012-09-11 12:45:29 -07:00
LexManos 437d83e9b3 Fix placing torches and the like on inverted woden slabs. 2012-09-05 22:06:32 -07:00
dries kennes 15a3e76fc1 Allow flight,player sensitive 2012-08-30 20:16:20 +02:00
LexManos 895365d9b9 Fix silk touch on Ender Chests. 2012-08-28 16:36:19 -07:00
LexManos 18f3d41a5b Merge pull request #142 from ShetiPhian/movecheck_override
Server mods can now use noClip to push players through solid blocks without is being an invalid move and resetting the players position. Useful for creating semi-solid blocks like quicksand.
2012-08-28 00:06:37 -07:00
LexManos 1a2ce02a7f Fix Issue #140: Custom items not properly having texture applied for partical effects. 2012-08-27 23:55:14 -07:00
ShetiPhian 050ca0bde9 Update patches/common/net/minecraft/src/NetServerHandler.java.patch
Update patches/common/net/minecraft/src/NetServerHandler.java.patch

Server mods can now use noClip to push players through solid blocks without is being an invalid move and resetting the players position.

Useful for creating semi-solid blocks like quicksand.
2012-08-26 06:14:51 -03:00
LexManos 58fc45619f Fix FillBucketEvent to actually fire. 2012-08-25 00:30:32 -07:00
LexManos 8fc05c399a Fix call to createTileEntity on blocks that extend BlockContainer. 2012-08-24 14:06:02 -07:00
LexManos 3a604ac0fa Merge remote-tracking branch 'origin/master' 2012-08-22 18:04:06 -07:00
LexManos 0b1997a9e6 Made helper hooks for EntityLiving and EntityRenderer hooks for Optifine 2012-08-22 18:02:14 -07:00
Christian 25aef3543b Update FML: 6e01c59
6e01c59 Merge ChickenBones pull into FML - adds player trackers
a0cbd37 More precise error handling when an invalid class is present
12323e2 Fix textures not applying properly
789a4a3 Fix up entity spawning - hopefully they won't warp anymore.
a87d045 Add in a helper on the server start event for adding commands to the server.
82e9309 Move villager trading hook up a bit. thanks sengir.
8deaa37 Fix LAN to try hard to find a real network interface, not just localhost most of the time
b5363e3 Update build to not bother building client jar. Universal is everything now.
2012-08-22 18:13:11 -04:00
David Vrabel 6ffe25eed6 Use original minecart drag co-efficients for regular carts.
Since the amount of speed lost is 1 - co-eff, rounding 0.997 to 0.99
makes a big difference to the distance a minecart will travel (less
than half of the distance in vanilla 1.25).
2012-08-21 00:46:09 +01:00
LexManos d5610afdff Updated onItemUseFirst call to include the new hit vector information, and updated readme. 2012-08-19 21:06:32 -07:00
LexManos d3300cabb0 Added missing server side onBlockStartBreak hook, fixes Sheers. 2012-08-19 20:43:32 -07:00
LexManos f341fdfd61 Fix IndexOutOfBounds exception, Major derp. 2012-08-19 17:41:21 -07:00
Christian bea2d8599f Update FML: 46c563a
46c563a Expose more of the village construction parts for building village piece
1380c2e Allow access to the type "ComponentVillage"
71a3818 Documentation and registration for villager stuff
e3a343c Fix javadoc derp
195b1a0 Villager trading, manipulation and village enhancement. Still WIP but sh
69e66c3 Fix exception based logging to actually log the exception!
2012-08-19 11:35:22 -04:00
LexManos 87e0fced25 Changed order in which EntityItemPickupEvent is called, it will no longer be called if the 'delay' on the item is still active. Also EntityItems that are in the world with invalid item stacks will now kill themselves. 2012-08-18 21:07:29 -07:00
heldplayer 59c77d7ca4 Adds a SkyProvider class that can handle the rendering of the sky 2012-08-18 21:05:21 +02:00
LexManos 7f40671ad8 Fix MC packet bugs for remote servers that use blocks with ids > 256 2012-08-18 02:16:17 -07:00
LexManos a6d703edca Fixed bug in EntityMinecart that would cause them to fall through the ground at the bottom of slopes. 2012-08-17 23:50:25 -07:00
LexManos e30fef15d8 Update WorldProvider.path diff. 2012-08-17 13:32:38 -07:00
LexManos 20e38dca99 Fix EntityItemPickupEvent 'pop' sound spamming. 2012-08-17 13:31:47 -07:00
LexManos 912072535d Fixed EntityEvent.CanUpdate 2012-08-17 13:31:04 -07:00
Christian 4297a348db Update FML to include some ML compatibility fixes. Minimap should run, assuming he
recompiles against standard ML interfaces.
This updates to official MCP 7.2, so you'll need to rebuild your workspace (some
small but important patches to MCP went in)
2012-08-16 14:30:14 -04:00
LexManos fc430243d1 Rename Orientation to ForgeDirection {Damn MCP naming a class Direction already} 2012-08-15 04:28:09 -07:00
LexManos 06aaa9e9a4 Add render distance property to TileEntity. 2012-08-15 02:18:23 -07:00
LexManos 4967683c9c Fix issue with default getContainerItemStack 2012-08-15 02:09:21 -07:00
LexManos d9423a4f25 New Command event. 2012-08-15 02:01:38 -07:00
LexManos 60a9655602 Seperated block placmenet logic in ItemBlock as immibis requested: https://github.com/MinecraftForge/MinecraftForge/pull/110 2012-08-15 01:48:34 -07:00
LexManos 57441b8678 Fix ItemBlock placement, should fix RP Deployers placing blocks 1 tile down. 2012-08-15 01:32:05 -07:00
LexManos 393852920c Fixed bug in DimensionManager that would cause Index error for custom dimensions, also made WorldProviders aware of what dimension they are. 2012-08-14 23:59:15 -07:00
LexManos 57dcfc5dd0 Updated patches to 1.3.2 2012-08-14 23:58:32 -07:00
LexManos 3b18bfae40 Readded patch to allow for use of custom teleporter for transfering dimensions. 2012-08-14 15:03:40 -07:00
Jonathan Marini 66bd2868cb Fix bug where default bonemeal behavior wouldn't trigger. Only return if the event was canceled. 2012-08-13 15:42:19 -04:00
LexManos 6b4288d00f Updated FML, fixed custom tool hooks, and spawn protection/player reach hooks. 2012-08-11 14:45:48 -07:00
LexManos ba55320462 Fixed Diemsnion API related NPEs, and updated FML to 231. 2012-08-11 03:08:09 -07:00
LexManos 55636eabab Updated FML, updated patches 2012-08-10 20:30:59 -07:00
LexManos f374723610 Update fml, impelemnted Diemsnion API stuff. 2012-08-10 18:15:10 -07:00
LexManos acdcfd0a56 Added new pick block hook for blocks and entites to allow for better grained control of the result. 2012-08-10 02:09:11 -07:00
LexManos a759939e13 Delete conf, server compile, update fml, and fix install script. 2012-08-09 18:37:52 -07:00
LexManos f31b8a98a9 Cleaned up some more, fixed infinite loop with cancelable annotation, Client now compiles and enters world just fine. 2012-08-09 16:47:35 -07:00
LexManos dae4a07c60 Updated Client side patches for the new Merged MCP workspace. 2012-08-09 03:06:41 -07:00
LexManos 41f1a60f32 More conversions, added all the entity living events. 2012-08-07 01:24:06 -07:00
LexManos e58129ddd2 A bulk of more patches converted, updated fml 2012-08-06 17:52:23 -07:00
LexManos 31a908b754 More patches converted.
Refactored some of the events to be a better hiarachy.
2012-08-06 15:07:53 -07:00
LexManos 80ad4be5b1 Some more patch migration before bed. 2012-08-06 03:54:57 -07:00
LexManos d286154997 More progress on converting patches from 1.2.5 2012-08-06 03:35:57 -07:00
LexManos 545b905f11 Implemeneted adding grass seeds, as well as IShearable for BlockTallGrass 2012-08-05 19:41:18 -07:00
LexManos 2d7deacead Renamed MinecraftForge.eventBus to EVENT_BUS as it's constant. 2012-08-05 19:14:02 -07:00
LexManos 1fb042621c First push of some small patches and introduction of basic events. As well as the first cases for Forge's Access Transformer 2012-08-05 03:20:07 -07:00