Commit Graph

937 Commits

Author SHA1 Message Date
LexManos de47895e02 Fix potential issue with custom events where the constructor is not visible from the EventBus class, Should never arise but meh. 2012-09-11 17:49:21 -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 96be8c4f19 Move Forge init message to MinecraftForge.initalize 2012-09-11 17:34:58 -07:00
LexManos 65ddfd49af Make EntityJoinWorldEvent Cancelable properly 2012-09-11 17:34:37 -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 848837bd5c EntityLiving variation of drawBlockDamageTexture to allow for Non-player viewports. 2012-09-11 12:46:40 -07:00
LexManos 8882388902 Fix FillBucketEvent to work with stacked buckets. New change in 1.3 2012-09-11 12:45:29 -07:00
Christian 2b9a80bfdd Update FML: 89b8236
89b8236 Fix onConnectionClosed not being called on the client side of a connection
2012-09-09 13:34:20 -04:00
Christian 66b60bc85e Remove all references to ModLoader 2012-09-09 10:02:21 -04:00
LexManos 03b3017e51 Bump version to 4.1.1 2012-09-08 21:47:14 -07:00
Christian 98e17b10b2 Update FML: 70f55c5
70f55c5 Add in exclusion list for IFMLLoadingPlugin.
1c1716d Remove debug cruft
d567f79 To properly align with packet9respawn, make packet1login's dimension an int as well
ecd4e46 Attempt to build some protocol negotiation, and fix packet1login so that the dimension is a short, matching packet9respawn
16fe495 Compatibility level is now passed from server to client - and the client tracks it. This means certain packet changes can be made without b
4f70d23 Fix dependency checking: you can depend on specific versions of FML
2012-09-08 21:17:05 -04:00
Christian 400cb07626 Update FML: 290a3c9
290a3c9 Merge pull request #94 from iChun/patch-1
9485dc5 Fix handleTinyPacket using short instead of int.
2012-09-07 11:37:56 -04:00
Christian 6b65fe9747 Update FML: e6abb69
e6abb69 Fix up tiny packet handler to actually work
e862052 Allow javax to be shipped by mods. Should allow some more modloader mods to work unaltered
4071ad1 Add in a little bit of protocol cleanup. Start work on allowing multiple protocol versions
6061964 Give a way to build the packet131mapdata packet correctly populated
b818769 Capture and leverage Packet131MapData
2012-09-06 23:04:55 -04:00
LexManos 437d83e9b3 Fix placing torches and the like on inverted woden slabs. 2012-09-05 22:06:32 -07:00
Christian c4852b02c3 Update FML: 12bc4ba
12bc4ba Make console logging pass through a single logging thread to avoid concurrency problems with launchers and stuff
8fccfa2 Overlooked chat message support *sigh*. Fixes wierd mods that communicate through custom chat messages rather than
a697d04 Rescan mod packages where there was a possible mod identified to try and make sure we load it. Fixes Matmos r16
2012-09-04 19:24:48 -04:00
Christian 793579f4f2 Update FML: 9d812f1
9d812f1 And handle the other way to globally register an entity
869cf78 Fix up mods trying to register entities outside of modloading. Now you'll get a big fat warning for doing such a de
186680c Fix CJB mod compatibilty for real. Gui container registration can now happen in the constructor. YUK!
5aed6d9 Fix compatibility with ModLoader dispenser hook. Fixes a bug with IDispenseHandler too - though it means that inter
3d7a665 Fix headless operation, hopefully
2012-09-03 22:25:58 -04:00
Christian 7bc8024ae3 Update FML: 10a7169
10a7169 Fix up trying to re-add stuff to the classpath when it's already there
0eb7180 Fix out of range entity id handling for ModLoader mods a bit more. Thanks Herobrine mod!
b1b4c61 Expose GuiMerchantButton
359cfb5 Log a big fat warning for the developer in the case the network version is not acceptable to the mod itself. (This can happen because of a bad range specifier for example)
2012-09-02 13:09:47 -04:00
Christian 7828ff9ef9 Update FML: 8656fd5
8656fd5 Also, make missing entity not blow things up
25a4dcb Fix entity tracker "update" packet not computing correctly. Should work now..
2012-08-31 17:32:20 -04:00
Christian 955904e6b2 Update FML: c90a853
c90a853 Fix up addRenderer to catch exceptions from the basemod, also, addrenderer now supplies a list of the default renderers from MC for editing and will note the
18069d8 Change download location for FML libraries to files.minecraftforge.net, add an encoding param to the javac command line to force utf 8
a40f4a7 Add in random jar/zip files to the classpath. UGH this is so fucking ugly it's not funny.
5b6460b Use a null socket and try to prefer the result of getLocalHost in the broadcast data.
2012-08-31 12:37:15 -04:00
dries kennes 15a3e76fc1 Allow flight,player sensitive 2012-08-30 20:16:20 +02:00
Christian 1a9f9185f4 Update FML: c0d1348
c0d1348 Add in an ItemRenderer null check so FML can run render adding mods
482c163 Inverted boolean logic. Grrr.
221d113 ModLoader mob spawns use packet 24- build a bypass system so that they can still use it
f19f426 Remove debug statements
2012-08-29 15:40:59 -04:00
Christian 4bf6b35ee7 Update FML: 9dd9b6e
9dd9b6e Fix keybindings not loading properly from gamesettings file after restart
2012-08-28 22:36:23 -04: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
Christian e50050a175 Update FML: acb0b21
acb0b21 Fix so we always send received packets to handlers. Renders 250 filtering useless unless i can figure a way to intercept
2012-08-27 23:43:13 -04:00
Christian 29e41f6096 Update FML: b17dd3c
b17dd3c Some tests
fa66ffa Fix trying to load the client side packet handler, when on the server, hopefully?
b106420 Fix up network negotiation - now it will disconnect with a nice error screen if there are missing mods on the client vs se
2012-08-26 22:27:12 -04:00
Christian 0cba5a5c4a Update FML: c971adb
c971adb Fix missing addCommand call: thanks "spawnwolf test command"
d6326de Fix a couple of modloader mods. Thanks!
483667c Some functionality fixes for @Instance injection.
8bef512 Versions now have two flavours: the @Mod(version) which is the "programmatic version" and is used for all version relationship calculatio
501009c Always for ML mods into "public" class accessibility - we don't call from the default package like ML does.
d3d4308 Add in a convenience method for getting a class instance based on existence of another Mod. Useful for soft dependencies.
2012-08-26 13:29:21 -04: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
Christian 350583c7f0 Update FML: 2d9b88b
2d9b88b And more mod sorting fixes.
93d5934 Actually *use* the sorted mod list
2012-08-25 09:11:46 -04: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
Christian 0ae277b13e Update FML: 180a279
180a279 Merge pull request #82 from Chicken-Bones/master
cf38461 The access transformer will now handle classes in packages.
2c85539 Reverse the meaning of state in fml.modStates system property and fmlModState.properties - it was very derpy before. Now: true is enabled, false is disabled, as you would expect
d651189 Actually fix the corrupt JSON problem
f6a8cd5 Fix isModLoaded for "disabled" mods, and the toposort as well
3bde961 A bit more information for dependency handling
6396bea Fix up handing corrupt mcmod.info
6bc6def Fix a problem with network ids
7328610 Fix up version handling properly. Hopefully, and the error screen.
9fcc452 Only active mods should have dependencies checked, and be sorted
26302a6 Fix oddity with Screen, print a version out in the sorted list!
2012-08-23 19:52:01 -04:00
Christian e46b3de1ed Update FML: 62dbfb3
62dbfb3 Fix metadata
2012-08-23 14:09:42 -04:00
Christian c3df53f222 Update FML: b91cbe9
b91cbe9 Fix up versioned dependencies so they work a lot better, also add in a missing mods screen
2012-08-23 13:53:46 -04:00
Christian 2da95d3f96 Update FML: 93b8ba9
93b8ba9 Fix missing serverSendPacket
23fdbbd Trading support for ModLoader - thanks Herblore!
d7a74d8 Close the jar, for cleanliness sake
58e6dd9 Fix authors - it'll read both "authors" and "authorList" from the json now
907cf2d More ML compatibility - fix up dragon mounts, thanks!
ee48a36 Fix up loading mods that are grandchildren of BaseMod
c6f362b Fix entity handling for ModLoader mods, thanks parachute mod!
2012-08-23 09:20:31 -04:00
LexManos 7b8914b24f Fix lighting issue for air related to 4096 fix. 2012-08-22 18:34:53 -07:00
LexManos 3a604ac0fa Merge remote-tracking branch 'origin/master' 2012-08-22 18:04:06 -07:00
LexManos 6f89cf54b8 Removed deprecated ISpawnHandler, that never worked in 1.3.2 so noone should be using it. See FML's replacement. 2012-08-22 18:03:10 -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
LexManos 0680e211fc Pickblock now replaces the currently selected item if it could not find a empty space. 2012-08-22 13:46:01 -07:00
LexManos a8191d0dae Merge pull request #135 from dvrabel/minecart-drag
Use original minecart drag co-efficients for regular carts.
2012-08-22 13:41:05 -07:00
Christian 8e1a4cd6e0 Update FML: 28a10ac
28a10ac Null protection for ticks() -- probably should uses EnumSet.noneOf() but you can also use null now to stop ticking. closes #77
c349d51 Automatic mod entity registration into the global entity list. This might break entity code out there, sorry, but this way for most entities you no longer need to manage the global mod entity stuff at all. just remove it. FML will take care of the rest (note, worlds won't load the old entities)
ef01745 Add in a utility function that *might* tell you the context you're running in on either client or server: FMLCommonHandler.getEffectiveSide
c97d6a6 Try and stop sendPacketToAllAround from being crashy
2062273 Mods can add mod specific crash information to the crash report now Forge needs to implement MinecraftForge.getCrashCallable
6e6436e Fix up dispenser handling, add in new params for the dispenser: breaks IDispenseHandler, sorry
38f4a22 Fix up MLProp handling for null info
3a8b047 GUIs working in FML for ML mods
52483ee Support gui opening for Shelf mod
dce1cbc Updated MCPMerger to annotate unique classes with there sides, and SideTransformer to null out any class that is loaded on the wrong side.
2012-08-22 10:51:11 -04:00
LexManos dd5543b90d Update FML to 304:
Client side only classes are properly annotated, and denied loading on server side
Added missing client side only ModLoader.getContainerGUI function
Guis work for FML mods now.
Fixed MLProp handeling of null info
Fix up dispenser handling, add in new params for the dispenser: breaks IDispenseHandler, sorry
2012-08-21 12:46:35 -07: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