Lex Manos
df0b1751e6
Fixing an infinite recursion case, Closes #916
2014-01-03 16:50:02 -08:00
Adubbz
48a9e24630
Made canBeReplacedByLeaves default to whether a block isn't opaque rather than if it is, also uninverted the checks for canBeReplacedByLeaves in WorldGenBigMushroom, WorldGenSwamp, WorldGenTaiga1 and WorldGenTaiga2
2014-01-03 18:00:11 +11:00
Christian
3896a63016
Fix inversion
2014-01-02 22:52:04 -05:00
Adubbz
bd5e7f8118
Fixed sky colour transitions on a render distance of 16, fixed the WorldGen of various things
2014-01-01 18:50:52 +11:00
Lex Manos
32f26561b1
Fix inverted login in BlockPistonBase causing blocks to break incorrectly. Closes #910 #909
2013-12-31 13:07:44 -08:00
Lex Manos
ea0be720a1
Update patches for AT changes.
2013-12-31 13:03:45 -08:00
Adubbz
164fa8f646
Made BlockCrops.getDrops call its super method
2013-12-28 23:15:09 +11:00
Christian
f075264d6f
Allow tools to override their material harvest levels.
2013-12-27 23:48:10 -05:00
Christian
cf3447feea
Tidier implementation of previous commit. Should fix for subclasses of individual tools too
2013-12-27 21:48:42 -05:00
LexManos
46296328ff
Merge pull request #893 from iChun/master
...
Add render offset to event.
2013-12-25 01:05:45 -08:00
iChun
5f3ece629c
Add render offset to event.
2013-12-25 17:03:19 +08:00
Lex Manos
a6827f9820
Fix dig speed on redstone ore and obsidian.
2013-12-25 00:41:21 -08:00
Lex Manos
40d02fe6c3
Add a version check mechanic to startup, it is done in a seperate thread and has a config option to compleetly disable it. This allows us to notify users of new recomended builds. Hopefully stemming the flow of outdated help request. Also adds a warning to the main screen if you are running a 'Beta' Forge. Which means a Forge for a new version of Minecraft that we have not promoted a recomended build for yet.
2013-12-25 00:35:59 -08:00
Lex Manos
572bc48a25
Resize pending tile updates when it goes over the curent length. Fixed AIOOB error.
2013-12-24 19:59:34 -08:00
Lex Manos
1959e414e2
Forgot to regen patches...
2013-12-23 22:45:45 -08:00
Lex Manos
08a875c39a
Added constructor to WorldType, and delegated the BiomeLayer management to it. Also updated the access transformer for Item/Block classes.
2013-12-23 22:40:54 -08:00
Lex Manos
d795f1b898
Fix items rendering on the GUI with invalid state due to glint rendering changing it. Thanks iChun.
2013-12-23 20:58:48 -08:00
Lex Manos
ecf8d29724
Fixed accedential inverted logic that caused Potions to render incorrectly. Thanks iChun.
2013-12-23 20:47:07 -08:00
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
Christian
492cbc3628
Move stuff around a bit- also tie range and enabled to options.
2013-09-13 22:11:59 -05:00
Christian
32353f0db1
Merge branch 'master' of github.com:Adubbz/MinecraftForge into Adubbz-master
2013-09-13 21:04:54 -05:00
Adubbz
7aa43a4217
Sky colours now smoothly transition
...
Made transitions even smoother
Sky colours now smoothly transition
2013-09-14 12:00:06 +10:00
Christian
09580515a0
Tweak patch comment
2013-09-13 20:45:30 -05:00
Christian
65165cd41c
Merge branch 'mapStyle' of github.com:Matchlighter/MinecraftForge into Matchlighter-mapStyle
2013-09-13 20:11:13 -05:00
Christian
391668114d
Merge branch 'master' of github.com:micdoodle8/MinecraftForge into micdoodle8-master
2013-09-13 20:06:50 -05:00
iChun
ae80a7b322
Allows proper raytracing from actual player eye position rather than hardcoded eye heights.
2013-09-13 19:56:28 -05:00
Lomeli12
c0164f29cd
Villager Trading GUI will not open if Player is sneaking.
2013-09-10 14:08:29 -07:00
micdoodle8
9ddb57297f
Check if block is air instead of just ID zero when growing from stem block.
2013-09-09 17:53:19 -04:00
Matchlighter
eb4688bf5e
Added a RenderType that allows Map-style rendering w/o inheriting from
...
ItemMap.
2013-09-07 22:50:18 -06:00
Christian
519da32391
The partial tick should be available for all render player events. Weird it wasn't.
2013-09-07 16:25:30 -04:00
Christian
f9728e8f3f
Redo harvest event. This time with simpler logic, that should be less liable to weird "missing" stuff.
2013-09-07 00:10:08 -04:00
Christian
25bfc1407b
Reverting HarvestEvent, for new implementation
2013-09-06 23:39:48 -04:00
Lex Manos
303bd03533
Fix bug where guis were not closed properly, resulting in signs not having there text set.
2013-09-06 15:27:02 -07:00
Christian
6b54b52ec4
Change trigger calculation so entities get some time to age before refiring the event.
2013-09-06 16:46:44 -04:00
Christian
d9ca67e162
Change from Cancelable to using a Result. This means you can force despawn mobs you
...
don't want around anymore. Also, deferred check to once every 20 ticks. May tune it
down further or make it a config if this event is a lag issue.
2013-09-06 16:05:29 -04:00
MachineMuse
ee0cb12810
Added fov hook
...
Small formatting changes (opening braces on new line)
2013-09-06 13:25:47 -04:00
Christian
6da6e9da07
Add a cancellable despawn event- allows mods to decide to prevent the despawning
...
of certain otherwise normally despawnable mobs.
2013-09-06 13:19:51 -04:00
Christian
7544055fa4
Clean up some formatting.
2013-09-05 13:16:01 -04:00
Christian
cb5b5cde1f
Use the dropchance from the event.
2013-09-05 13:01:25 -04:00
Christian
ca0e32cfd2
Add a harvestblock event, to allow mods to intercept and change the drops for blocks. Don't abuse this, or we'll have to take safety measures.
...
Fires for both silktouch and non-silktouch harvesting, and provides the player. Note, you may need to
change your break overrides to pass on the player for best results.
2013-09-05 11:57:27 -04:00
Christian
c84d99aa22
Defer firing CreateDecorator until it's likely mods have had a chance to register their listener. Should close #759
2013-09-05 10:08:02 -04:00
Christian
e962c2a94d
Merge branch 'master' of github.com:jk-5/MinecraftForge into sometweaks
...
Conflicts:
patches/minecraft/net/minecraft/client/Minecraft.java.patch
2013-09-05 08:39:15 -04:00
Christian
7549eb90a7
Add a bit of javadoc
2013-09-05 08:22:28 -04:00
Christian
df132a0296
Merge branch 'displayname' of github.com:MachineMuse/MinecraftForge into sometweaks
...
Conflicts:
patches/minecraft/net/minecraft/entity/player/EntityPlayer.java.patch
2013-09-05 08:20:49 -04:00
Christian
fe5f5e690e
Fix patch for new MCP naming.
2013-09-05 07:57:21 -04:00
Christian
21cd975ae3
Merge branch 'mouseevent2' of github.com:MachineMuse/MinecraftForge into sometweaks
2013-09-05 07:47:52 -04:00
Christian
32073a5bc1
Reduce patch size significantly
2013-09-05 07:45:29 -04:00
iChun
6cf8408752
Fix player push out of blocks clientside being hardcoded and not based on entity size.
...
Added player eyeHeight field to allow changeable eye heights of players rather than being hardcoded per player class as well as add a getDefaultEyeHeight function.
2013-09-05 14:57:34 +08:00
MachineMuse
7a77b61ddd
fixed logic error
2013-09-04 15:27:45 -06:00
MachineMuse
ad09526bee
inserted hook into Minecraft.java
2013-09-04 15:05:29 -06:00
MachineMuse
cb9c26d49c
Memoization of display name result
2013-09-04 14:22:22 -06:00