Commit graph

567 commits

Author SHA1 Message Date
Lex Manos
8ca1179e04 Move Grass {Flower} registry to BiomeGenBase as 1.7 made flowers Biome specifc, this means modders who wish to add global base flowers need to add them to all the biomes indavidually. 2013-12-23 20:34:39 -08:00
Lex Manos
96e23516f6 Temporary fix for items rendering with effects on one layer. Restores default vanilla rendering, which is considered a bug in modded community. 2013-12-23 20:33:32 -08:00
Lex Manos
9ee5053b71 Fix:
Block placement/interaction
  Tesselator crash due to wrong mapping
  Missing isreplaceable check in world.canPlaceAt
  Small foratting/logging cleanup
  Temporarly commented out efficancy changes till I implement it.
2013-12-22 18:25:26 -08:00
Lex Manos
30494f8ddb Fix MethodNotFound crash when shutting down internal server. 2013-12-22 18:22:57 -08:00
Lex Manos
7e668ca9ac Get object based on identity not name. 2013-12-22 18:21:43 -08:00
bloodshot
8654623271 Refactored BiomeManager stronghold add/remove methods to support new
MapGenStronghold dynamic biome changes.
Changed InitNoiseGensEvent to pass a NoiseGenerator array instead of
NoiseGeneratorOctaves due to new NoiseGeneratorPerlin in
ChunkProviderGenerate.
Fixed worldgen crash caused by wrong metadata in Chunk patch.
2013-12-22 18:47:51 -05:00
Lex Manos
a6c45a7ade Inital patch update for 1.7.2, Doesn't compile, not done yet. 2013-12-22 03:06:10 -08:00
Lex Manos
99faaae9f6 Regenerate all patches, No functional change as added this is a formatting change only. 2013-11-18 17:17:45 -08:00
Lex Manos
45cc0bd87c Fix NPE in FakePlayers when they are created in a purely client side environment. To remove in 1.7 as FakePlayers should be used for server side interaction with the world on a player's behalf, not for client rendering. 2013-11-16 15:26:52 -08:00
Christian
28abe2cc3c Updated FML:
MinecraftForge/FML@23baf3a8ce Actually fix the nethandler code

Update patches
2013-11-13 19:16:24 -05:00
LexManos
cfd368e18f Merge pull request #852 from MinecraftForge/breakevent
Merge BreakEvent branch, as nobody has told me that it breaks everything. And in prep from 1.7.
2013-11-09 00:43:58 -08:00
LexManos
a47cca7e42 Merge pull request #841 from XCompWiz/biomecheck
Adds a Check to prevent Biome Replacement
2013-10-27 22:14:54 -07:00
XCompWiz
80ac3017bd Adds a Check to prevent Biome Replacement
Splits the BiomeGenBase constructor to create one which takes a flag
that indicates whether to insert the biome object into the biomeList
array.  The standard constructor calls the new one with the default of
true.  This allows biome wrapper-objects to exist.
2013-10-28 07:11:17 +02:00
Lex Manos
ec517d5f28 Format strings properly in MC's internal logger. Fixes resource pack case warnings. 2013-10-27 11:00:10 -07:00
Christian
efc6b9abbb Merge branch 'master' of github.com:OniBait/MinecraftForge into breakevent 2013-10-13 23:02:20 -04:00
Christian
f9c283a2e5 Add in an event for zombie summoning. Allows for mods to control summoning behaviour, as well as custom summoned mob. 2013-10-13 12:21:57 -04:00
Christian
6c45b43eee And set the RIGHT variable *sigh* 2013-10-13 11:55:15 -04:00
Christian
de69b7dfd0 And allow for tweaking baby chance as well. 2013-10-13 11:53:48 -04:00
Christian
5f5b509c7a Allow configuration of the zombie additional summoning mechanic. The vanilla mechanic is a little borked at times. 2013-10-13 11:39:23 -04:00
Lex Manos
412952be5b Prevent session from being printed to the console, also make sure the username is not empty. Causes a lot of bugs further down the line. 2013-10-12 23:10:23 -07:00
OniBait
79e0165362 Cleaned up patches to BlockOre and BlockRedstoneOre
Fixed trailing whitespace (it bugs me too)
2013-10-10 17:15:38 -05:00
Lex Manos
43a16d5389 Added some missing air checks to world gen features. 2013-10-09 02:47:05 -07:00
OniBait
303288e8b1 Merge branch 'upstream/master' 2013-10-08 19:04:54 -05:00
OniBait
eb5940664c Add block break events based on @bloodmc's initial 1.5.2 Pull Request 2013-10-08 19:00:02 -05:00
Lex Manos
c8df5b832e MinecraftForge/FML@a381874bb9 Delay sound system backend initalization to speed up startup and prevent race condition on some computers. 2013-10-06 11:23:36 -07:00
Eurymachus
8d0b58ee6f Added PlayerOpenContainerEvent and added ForgeHooks.canInteractWith
- Used to override the canInteractWith during player tick
- setResult to ALLOW/DENY as required
- Defaults to Vanilla behaviour in any other instance.

Required for LittleBlocks Mod and to Assist Gullivers Mod
2013-10-06 03:58:13 +01:00
OniBait
296a484f4b Add block break events based on @bloodmc's initial 1.5.2 Pull Request 2013-10-04 00:15:19 -05:00
Lex Manos
7d5d191fc2 Fix missing patch which caused per-world storage to not be saved. 2013-10-01 09:59:13 -07:00
Lex Manos
68669e2679 Make isItemStackDamageable() pass the stack to getMaxDamage() to use the Forge version of getMaxDamage().
Fixes display issues with mods using getMaxDamage(ItemStack) instead of the vanilla one. Closes #805
2013-09-30 17:15:18 -07:00
LexManos
4374f67759 Merge pull request #803 from benblank/block-power
Allow blocks to choose how they handle indirect power
2013-09-30 17:12:34 -07:00
Lex Manos
2e3d1a3c09 Add cancelable EntityStructByLightningEvent, Closes #789 2013-09-30 16:56:34 -07:00
Lex Manos
96b4fd1da1 Stack sensitive version of Item.getItemStackLimit. Closes #771 2013-09-30 16:21:40 -07:00
LexManos
d3c80c326a Merge pull request #772 from Lomeli12/master
Villager Trading GUI will now not open if Player is sneaking. Allowing for bypassing of the GUI.
2013-09-30 16:01:51 -07:00
Lex Manos
73202259fa Direct canApplyAtEnchantingTable through canApply Closes #740 2013-09-30 14:51:39 -07:00
Lex Manos
81efd38fee Fix placement of snow cover over metadata 6. Closes #724 2013-09-30 13:52:17 -07:00
Lex Manos
b3c715c312 Add the ability to register chat commands that only execute on the client. Works with autocomplete.
Client commands are gray when shown in the autocomplete list (when you press tab)
Closes #640
2013-09-30 13:08:57 -07:00
Ben Blank
8c54873afd move shouldCheckWeakPower to Forge section 2013-09-30 11:54:03 -07:00
Lex Manos
50b9abc13f Vanilla hopper should obey the IInventory contract, TileEntityHopper now takes into account IInventory.getInventoryStackLimit() when inserting items Closes #597. 2013-09-30 11:37:37 -07:00
LexManos
e4714bc4c5 Merge pull request #796 from HoBoS-TaCo/master
Added ItemTooltipEvent
2013-09-29 19:55:14 -07:00
HoBoS_TaCo
06e2f914c1 Added ItemTooltipEvent
This event is fired at the end of ItemStack.getTooltip(EntityPlayer, boolean), which in turn is called from it's respective GUIContainer. It allows an itemstack's tooltip to be changed depending on the player, itemstack or whether the advanced information on item tooltips is being shown, toggled by F3+H.
2013-09-30 12:41:52 +10:00
Ben Blank
f40bdeca97 allow blocks to choose how they handle indirect power 2013-09-28 17:56:19 -07:00
Lex Manos
ab2d8fa01b Add wrapper exception to the new Structure ID system to point to the correct Structure. 2013-09-25 16:58:36 -07:00
Lex Manos
70671858c2 Remove some side onlys on BiomeEvents that don't need them. 2013-09-24 21:43:56 -07:00
Christian
a7fde237bb Clean patch fuzz 2013-09-20 21:17:38 -04:00
Lex Manos
98aecd7f6b Move have handler creation up, to prevent NPE. 2013-09-19 16:47:46 -07:00
Lex Manos
a525cab5ff Move the Structure data save files to per-world data folders. Vanilla saves them to the global folder which will potentially cause conflicts if two worlds generate 'Villages'. Which in the modded world is highly likely. Refer back to the long standing vanilla issue where nether 'villages' would override the overworlds villages, it's the same situation. 2013-09-18 23:37:23 -07:00
Lex Manos
6c5ef9347c Updated FML:
MinecraftForge/FML@da70cdd35a Update tweaker for new Launcher API
MinecraftForge/FML@352117fd78 Update for new installer and thank you.
MinecraftForge/FML@40a34af431 Merge branch 'master' into newtweak
MinecraftForge/FML@e77d2547ad Update for pre-ninja 1.6.3 update
MinecraftForge/FML@34493b0d99 Update for real 1.6.3 update
MinecraftForge/FML@95afc95b24 Update mcp mod info
MinecraftForge/FML@ff75416a32 Update mc_versions data and commands patch and eclipse workspace
MinecraftForge/FML@8f2e675581 Update the src distro's eclipse workspace.
2013-09-18 16:10:38 -07:00
Christian
f9087cb291 Revert "Added a RenderType that allows Map-style rendering w/o inheriting from"
This reverts commit eb4688bf5e.

Conflicts:
	patches/minecraft/net/minecraft/client/renderer/ItemRenderer.java.patch
2013-09-14 18:43:18 -04:00
cpw
a066018c9f Merge pull request #782 from CovertJaguar/patch-1
Allow Fluids to have Rarities
2013-09-14 05:17:34 -07:00
CovertJaguar
b626c888b0 Allow Fluids to have Rarities
Used for tool tips.
2013-09-13 20:17:12 -07:00