Commit graph

163 commits

Author SHA1 Message Date
LexManos
1ee857e779 Entities have a new function to determine explosion strength that they create, and implemented Item frame pickblock. 2012-10-21 10:20:39 -07:00
LexManos
6ffaa94994 BlockSnow now pretty much just passes harvestBlock to it's super. 2012-10-21 10:19:54 -07:00
LexManos
fd1f09a34e Patches that applied with little to no functional changes. 2012-10-21 10:16:55 -07:00
LexManos
01722c6c3c Forge spawn protection removed, now a vanilla feature. 2012-10-21 10:05:50 -07:00
LexManos
305a1ef66b Moved to common where it should be 2012-10-21 10:02:23 -07:00
LexManos
1d1251d92a Remove some test code. 2012-10-19 18:56:56 -07:00
LexManos
34ebfcd978 Added ability for mods to cleanly define and display new creative tabs. 2012-10-19 08:46:39 -07:00
Christian
c440c4b0c1 Update FML: 470a185
470a185 Try and avoid an NPE in crash reports
0029518 Fix logging problems- log death messages and re-route the server through FML logs properly.
fe7a832 Fix the test mod
a2bc30b Coremods can be specified via the command line: fml.coreMod.load=<listofcommaseparatedclasses> This will help with developing coremods
bae1f74 Fix classpath for server
887aa27 Add in the ability for a client to throw a custom exception that displays a custom gui instead of the default error message.
e17f267 Update FML internal classpath. Helpful for coremod devs
3b9972a Don't use File to separate the last element of the path. It's a URL, they're always separated by '/'
5c96afe Changed RelauchLibraryManager so that files with different paths on the same baseURL can be implemented in one ILibrarySet.
1bca393 FML as a whole is now subject to transformers.
27cf731 Bonus extra character. thanks randomitter!
94c84cd Merge pull request #116 from Vazkii/patch-1
c2d3195 Add Null check to FMLClientHandler.sendPacket
2012-10-18 20:17:23 -04:00
LexManos
006a27dcd6 New Block hook to determine if it can be destroied by the ender dragon, for PR 199 2012-10-14 20:17:07 -07:00
LexManos
2a749bee2c Change the Crafting damage check to be the same as the usage damage check. (>= -> >) 2012-10-14 19:59:50 -07:00
Christian
b89467d101 Remove @SideOnly from removePotionEffect. Hi RichardG! 2012-10-12 14:01:16 +01:00
Christian
2c8517f4d7 Fix bounds checking on chunkcache. Should fix a bunch of rp2 and maybe other extended tile entity code 2012-10-07 00:28:42 -04:00
Christian
72c19f335b Expose RenderGlobal.field_72738_E (breakingBlocks) and fire OnBreak for items broken in itemUseFirst on the server. Both for Elo 2012-10-04 18:05:58 -04:00
Christian
b82a462f64 Fix a problem with re-entering worlds too quickly- the worlds will now *always* save before the menu re-appears. 2012-10-04 00:07:59 -04:00
Christian
0162519347 Remove dead WorldInfo patch. Tweak dimension code a bit for better naming, and use the new FML world loading facilities
Update FML: d0e7c9e
d0e7c9e Update patches *sigh*
f3e1cac Add in a savehandler strategy for reading and writing data to the world save. This service is only available to coremods via the WorldAccessConta
51fb513 Add in some bukkit supporting code. Most of this is unimplemented until the bukkit coremod is complete.
65c9fdd New stuff on the ModLoader! Risu has been busy. Closes #114
c1d4458 Mods can now declare a range of minecraft versions they will run against
2012-10-03 01:54:40 -04:00
XCompWiz
a50abc514f Server player concurrency fix
Fixes an issue where the server can move a player while the player is
moving, process the player's last move (putting the player back where
they were before the teleport), and then complain about the player
moving too fast when the client catches up to it's new position.  Also
fixes this issue while riding an entity.  Only affects player
client/server movement sync.
2012-10-03 02:45:36 +03:00
XCompWiz
e53595f1f5 Lighting Time fix
score_under's lighting fix that limits and fairly distributes the amount
of time spent on recalculating lighting
2012-10-03 02:42:40 +03:00
XCompWiz
babc12d2b5 MapStorage Fix
Fixes setting and timing of map storage object to allow for the
WorldProvider to use it during initialization
Forces single instance of map storage object (per side)
Moves setting of spawn to after provider setup
2012-10-03 02:41:32 +03:00
XCompWiz
bbc5673ad8 Adds world unloading and hotloading calls
Adds world unloaded message to MinecraftServer on save.
Adds world unloading calls to chunk provider/manager when all chunks are
unloaded.
Adds call in MinecraftServer getWorld to hotload world if it isn't
loaded.
2012-10-03 02:37:27 +03:00
LexManos
154124acd8 Fix issue where mushrooms would not check the proper soil block. 2012-10-01 18:51:35 -07:00
LexManos
eda74ffac2 Fix issue where light would not properly recalculate. 2012-10-01 18:51:11 -07:00
Christian
b227d7ce73 Dormant chunk cache might actually work now, and not mix chunks across worlds 2012-09-28 17:04:26 -04:00
LexManos
b41626cf78 Forgot comment, you see nothing... 2012-09-28 00:02:21 -07:00
LexManos
d373632275 Fix vanilla bug where the player would load chunks outside its range that would be 'abandoned' and never unloaded. 2012-09-27 23:58:40 -07:00
LexManos
49f263eb63 Fix buckets, need to rethink for bukkit compatibility. 2012-09-27 23:56:39 -07:00
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