LexManos
3e6099055e
Fix hopper extract behavior being broken on edge cases due to IItemHandler capability. Closes #3062
2016-07-03 13:45:26 -07:00
Bernhard Bonigl
432e3ab08a
Add an event that allows to modify the looting level based on damage source
2016-07-03 15:19:31 +02:00
diesieben07
03b54774aa
Restore (buggy?) behavior of vanilla BlockPistonMoving and ignore drop chance ( #3052 )
2016-06-30 12:50:04 -07:00
LexManos
cb2b0febeb
Fix villages generating to high when using a cusom sea level. Closes #3050
2016-06-30 01:11:35 -07:00
LexManos
373fa8f7a3
1.10.2 Update
2016-06-28 21:25:04 -07:00
diesieben07
4b9bf30fed
Fix mob-spawners crashing for non-living entities and simply the patch in the process ( #3042 )
2016-06-26 16:35:59 -07:00
mezz
1a8ad6bbee
Fix legacy handling for ItemBucket subclasses and non-universal buckets ( #3038 )
2016-06-26 12:18:26 -07:00
LexManos
7f30e76dad
Fixed chests being replaced when trees grew.
2016-06-25 10:36:59 -07:00
luacs1998
8e3bc83c3b
Simple implementation of a Open/Close container event ( #3017 )
2016-06-25 12:34:42 -04:00
LexManos
174394d6df
Provide 'cleaner' version of TextureMap.setTextureEntry. Closes #1385
2016-06-25 01:27:40 -07:00
LexManos
d8166f5d6b
Fix incorrect logic in ChunkCache.isSideSolid. Closes #3026
2016-06-25 01:19:15 -07:00
LexManos
84366be869
Fixed incorrect variable being sent to doSpecialSpawn. Closes #2986
2016-06-25 01:18:09 -07:00
LexManos
eefbcaaffc
Fixed shifted patch in GameSettings causing settings to not load properly. Closes #3025 #3022
2016-06-25 01:17:31 -07:00
cpw
553a34690d
Fix doors popping off solid sides.
2016-06-25 01:18:19 -04:00
cpw
efbd21e3eb
Fix that the Missing blocks/items/registries prompt often got stuck.
2016-06-25 01:07:45 -04:00
cpw
006509a834
Fix Realms button text to be shorter again. Closes #3019
2016-06-23 17:57:31 -04:00
cpw
db9e75a273
Fix item pickup dupe bugs. Closes #3015
2016-06-23 17:49:50 -04:00
BlayTheNinth
90d6bad7f7
[1.10] Fix keys with KeyModifier failing to load ( #3018 )
...
Fix key options with KeyModifier failing to load due to NumberFormatException
2016-06-23 12:28:43 -07:00
mezz
254cf8bb23
Fix all guis closing as soon as they are opened ( #3013 )
2016-06-23 07:25:24 -04:00
cpw
260be68723
Update to 1.10
2016-06-23 02:39:55 -04:00
cpw
d1f4d71d93
Revert "Added PlayerOpenContainerEvent and added ForgeHooks.canInteractWith"
...
This reverts commit 8d0b58ee6f
.
# Conflicts:
# common/net/minecraftforge/common/ForgeHooks.java
# patches/minecraft/net/minecraft/entity/player/EntityPlayer.java.patch
# patches/minecraft/net/minecraft/entity/player/EntityPlayerMP.java.patch
2016-06-22 23:43:41 -04:00
Girafi
dd384a91af
Made forge-type spawn eggs spawn childs, when right clicking EntityAgeable again. ( #2982 )
2016-06-22 23:19:36 -04:00
cpw
ee2772b26a
Merge remote-tracking branch 'origin/pr/2994'
...
# Conflicts:
# patches/minecraft/net/minecraft/item/ItemStack.java.patch
2016-06-22 22:56:26 -04:00
mezz
aaf1cba776
Fix ItemStack deserialization can't clear nbt ( #3005 )
2016-06-22 22:16:48 -04:00
mezz
eca97de272
Fix #2918 Make dispensers with buckets work with modded fluids ( #2947 )
2016-06-18 16:29:28 -07:00
LexManos
3f15c7b05b
Fixed brewing stand returning incorrect solts for side inventories.
2016-06-18 15:49:21 -07:00
LexManos
5c15dd714e
Fixed villager career display names being off by one.
2016-06-18 11:54:46 -07:00
Shadowfacts
7bbd1a6606
Fix broken EntityItem merging for Items with capabilities
2016-06-17 10:40:58 -04:00
diesieben07
aacb319594
Fix DataParameter mixup when vanilla clients are connected causing CCE in zombie renderer ( #2992 )
2016-06-16 12:23:30 -07:00
LexManos
1164ace8df
Fixed Fernflower decompile issue in AnvilChunkLoader.saveExtraData() Closes #2985
2016-06-12 23:47:34 -07:00
Vincent Lee
6a3b734801
Add getter for the world to LootContext ( #2954 )
2016-06-09 03:37:11 -07:00
Gustaf Järgren
ca6d1c9e3d
Fixed arrows not showing in non default AchievementPages ( #2968 )
2016-06-09 03:26:34 -07:00
RainWarrior
ac194dc378
Pass the GL context back from the splash screen during the EntityRenderer init.
2016-06-05 09:29:56 +03:00
cpw
18e60a1235
Fire ChunkWatchEvent.Watch event, closes #2767 . Based on @sfPlayer1 patch suggestion. It looks like this logic has shifted relative to 1.8, so there may be differences in event behaviour now.
2016-06-04 11:13:44 -04:00
Minecrell
279380b4f1
Fix asynchronous chunk loading ( #2946 )
...
Since the update to Minecraft 1.9.4 chunks were actually never loaded
asynchronously because a sync request was always made from the
PlayerChunkMap shortly after the chunk had been queued.
- PlayerChunkMapEntry now only loads chunks synchronously *after* the
chunk failed to load asynchronously.
- Fixed some minor bugs that caused "Attempted to dequeue chunk" messages
- Simplified ChunkProviderServer patch. loadChunk no longer generates chunks,
so there is no need to handle that.
- Moved loader and provider to ChunkIOProvider so there is no need for
"hashCode abuse"
2016-06-04 02:51:27 -07:00
LexManos
13b820fde2
Fixed BiomeProvider.getModdedBiomeGenerators method name. Closes #2937
2016-06-03 19:00:02 -07:00
Vincent Lee
35cd9fe212
Several bugfixes for PlayerInteractEvent ( #2943 )
...
* Don't change Result if setCanceled(false) called
* Fix RightClickEmpty firing even when targeting a block or entity
* Add a left click empty event
* Move hook point for EntityInteractSpecific to the right place
* Fix LeftClickBlock not firing clientside in creative, and clarify docs about creative
2016-06-03 18:52:01 -07:00
mezz
92914f82ae
Add new IFluidHandler for capabilities. ( #2942 )
...
Old fluid system is deprecated and slated for removal in the next cleanup cycle.
2016-06-03 18:26:41 -07:00
Matti Ruohonen
13ed510fcf
Add a Slot#isSameInventory() method ( #2884 )
...
This fixes shift + double clicking items in Containers that use
SlotItemHandler slots.
2016-06-03 17:26:51 -07:00
LexManos
6ca018c2b5
Fixed POTENTIAL issue where mods would query world infrom from TEs before they are set. Closes #2863
2016-06-03 17:11:12 -07:00
LexManos
9a23cf76d2
Expanded custom villagers to Zombies and world gen.
...
Fixed edge cases where custom professiosn wernt being used correctly. Closes #2862
2016-06-03 16:49:30 -07:00
LexManos
0a5daa194b
Fixed client side ticking TileEntites after they are unloaded. Closes #2852
2016-06-03 15:29:14 -07:00
LexManos
596ecfb891
Fixed position sent to sanSustainPlant from cactus. Closes #2941
2016-06-03 14:56:58 -07:00
cpw
caa61e1be9
Merge branch '1.9.4'
2016-05-31 00:34:03 -04:00
RainWarrior
4008983a5d
Reordered transformations during LayerHeldItem rendering, fixes #2827 .
2016-05-29 23:36:07 +03:00
LexManos
0bb4d9fb89
Fixed village wells not having their biomes set. Closes #2499
2016-05-28 23:46:00 -07:00
LexManos
3bdbe04261
Fixed TileEntityBeacon not using position-aware getLightOpacity. Closes #2530 and #2910
2016-05-28 23:19:27 -07:00
LexManos
39ac710722
Fixed potential issue with Chunk.getLightOpacity being called before the chunk is added to the world map. Closes #2529
2016-05-28 23:16:12 -07:00
LexManos
906b83dee4
Fix tooltip for survival tab in the creative menu not drawing on any but the first page. Closes #2908 and #2504
2016-05-28 22:56:33 -07:00
LexManos
5d2b8438c9
Fix Thorns enchantment bypassing ISpecialArmor.damageArmor function. Closes #2463
2016-05-28 22:49:54 -07:00
LexManos
2f5f9968e4
Reinitalize statistics information on Mapping changes.
...
Fixes mismatched stats to item/block ids. And auto registers stats for modded items.
Closes #2454
2016-05-28 22:31:48 -07:00
LexManos
772e7da3a3
Fixed NBTTagString.toString not properly escaping \'s. Closes #2393
2016-05-28 22:30:09 -07:00
LexManos
978861b521
Fix setTileEntity causing the world to remove the new and old tile entities. Closes #2164
2016-05-28 21:03:24 -07:00
LexManos
debe0ffdf8
Fire LivingSpawnEvents for MobSpawners. Closes #2079
2016-05-28 20:13:03 -07:00
LexManos
357d2f8d86
Fire PopulateChunkEvent Pre and Post in ChunkProviderFlat. Closes #2050
2016-05-28 19:56:35 -07:00
LexManos
c0840da355
Move getArmorModel hook up two lines so that the attributes and animation information is set. Closes #1939
2016-05-28 19:21:57 -07:00
LexManos
a5ffda5d66
Close player's inventory to prevent potential dupe issues on some modded items. Closes #1431
2016-05-28 18:20:05 -07:00
Shadowfacts
9bb927dc64
Pass the correct position into isSideSolid in BlockRailBase#canPlaceBlockAt ( #2919 )
2016-05-27 19:13:20 -07:00
tterrag
e00a11be99
Add hook for TE data sync on client ( #2893 )
2016-05-25 22:19:29 -07:00
The-Fireplace
48cc7582cc
Switch new constructor to use floats ( #2904 )
2016-05-24 19:58:22 -07:00
LexManos
614ba8fa73
Add alternative ItemAxe Constructor
2016-05-24 14:44:35 -07:00
LexManos
1fbadb0ead
Fix villagers having farmer skin on vanilla servers. Closes #2894
2016-05-23 17:15:13 -07:00
LexManos
6b8466778e
Fire playerDestroyItem event's in some cases where we were not.
2016-05-23 16:35:49 -07:00
LexManos
5415891f11
Fix Container.compouteStackSize not respecting stack version of maxStackSize. Closes #2756
2016-05-23 16:15:00 -07:00
LexManos
2356f088ee
Tipped arrows are now not affected by infinite enchantment but are still effected by creative mode.
2016-05-23 15:53:52 -07:00
LexManos
9df1e4b11e
Take capabilities into account when comparing ItemStack NBT's. Closes #2726
2016-05-23 15:30:20 -07:00
tterrag
95bacd7a52
Fix screenshot link paths on Windows ( #2886 )
2016-05-22 11:11:09 +04:00
LexManos
cdc86e9af6
Update mappoings snapshot to 20160518
2016-05-18 05:23:30 -07:00
LexManos
b9ac73b0f1
1.9.4 Update.
...
Major things to note:
Class renames: https://gist.github.com/LexManos/44dd211f90f498ad4015279b103dff86
Tile Entities are now packed in the ChunkData packet.
Forge intends to work around this to better support large moded worlds, but for the time being modders should implement the new function carefully and only send what data they need to!
Minecraft's codebase now has annotations, these are directly from Mojang and should be adheared to!
Added support for package-info.java's containing @Nullable information for all MC code base.
2016-05-18 03:29:10 -07:00
LexManos
d5b93bf262
Add modder facing API for Villager Career level trades. Ref: #2854
2016-05-14 20:11:55 -07:00
LexManos
75468e9b0d
Make LootPool constructor public again. Closes #2847
2016-05-11 01:25:48 -07:00
LexManos
34d4b0b93f
Fix type in LootEntry json name. And rename LootTable.finalize to freeze to avoid overriding Object function. Closes #2846 and #2847
2016-05-10 23:35:02 -07:00
Shadowfacts
58d26618f6
Add ScreenshotEvent ( #2828 )
...
Add ScreenshotEvent
2016-05-09 14:51:30 -07:00
LexManos
aaa146c10d
New LootTable interaction system and event.
...
Modders can now modify and reference internal elements of a loot table by name.
Editing can ONLY be done in the event and any external editing will cause a exception to be thrown.
See this gist for more information: https://gist.github.com/LexManos/77c983d67b9ad27010428478b66d50fd
2016-05-09 14:15:59 -07:00
mezz
363e84b2c5
Fix the rand given to PopulateChunkEvent ( #2834 )
2016-05-07 11:17:18 -07:00
LexManos
6e46b6e4c1
Fix areas where dimension types are used as dimension IDs.
2016-05-05 12:50:12 -07:00
LexManos
0d13fe245d
Add NPE protection to in-hand item rendering.
2016-05-04 22:29:17 -07:00
cpw
4248dbc71d
Merge in a fix from 1.8.9 for rails
2016-05-03 23:39:32 -04:00
cpw
f5781488d9
Merge branch '1.9'
2016-05-03 23:24:43 -04:00
LexManos
d8249b7886
Add a java version detection and nag system for users on Java 7 or below.
...
Added detection of mods that rely on Java 8 and a graceful error screen.
The nag screen will be shown once a day. It can be disabled by editing the forge.cfg.
However it is HIGHLY recomended that user update to Java 8.
2016-05-03 18:26:52 -07:00
LexManos
4d27393c91
Fix withers breaking bedrock. Closes #2813
2016-05-03 16:13:17 -07:00
RainWarrior
e98cd386e0
Fixed villager profession not being set correctly on the client, and fixed custom village texture rendering. Closes #2766 .
2016-05-03 11:39:14 +03:00
RainWarrior
4538062e70
Fixed cooldown overlay sometimes rendering opaque. Closes #2772 .
2016-05-03 11:03:30 +03:00
RainWarrior
f3fdf4303a
Make ChunkRenderDispatcher.countRenderBuilders configurable. Closes #2775 .
2016-05-03 10:28:06 +03:00
AlexIIL
980845b61b
Fix TextureMap failing when registering a sprite's resource location twice ( #2785 )
2016-05-03 10:07:49 +04:00
Vincent Lee
9f28c90365
Add Potion.renderHUDEffect ( #2798 )
2016-05-02 14:44:14 -07:00
bloodmc
7c6372202e
Fix wrong blockstate being passed to notifyNeighborsRespectDebug. ( #2806 )
2016-05-02 14:33:35 -07:00
bloodmc
b5bda7117a
Only run block physics for TileEntities while capturing block placement. ( #2805 )
...
Currently, all blocks placed by players that are not TE's run physics
twice. Blocks that contain a TileEntity are not affected due to a check in
'ForgeHooks.onPlaceItemIntoWorld'.
In order to fix the problem, 'Chunk.setBlockState' will now verify if
blocks are being captured before running onBlockAdded and if so, only run
physics if the block has a tileentity. This check also prevents blocks
such as TNT's from running its physics (explosion) when placement event is
cancelled.
2016-05-02 14:23:24 -07:00
bloodmc
d9bdaef468
Only run block physics for TileEntities while capturing block placement. ( #2803 )
...
Currently, all blocks placed by players that are not TE's run physics
twice. Blocks that contain a TileEntity are not affected due to a check in
'ForgeHooks.onPlaceItemIntoWorld'.
In order to fix the problem, 'Chunk.setBlockState' will now verify if
blocks are being captured before running onBlockAdded and if so, only run
physics if the block has a tileentity. This check also prevents blocks such
as TNT's from running its physics (explosion) when event is cancelled.
2016-05-02 14:21:37 -07:00
LexManos
d090c2834b
Fix NPE on shield break. Closes #2786
2016-04-27 18:37:54 -07:00
Vincent Lee
35999f9a20
Boss bar render event ( #2701 )
...
Allow control over increment height
2016-04-14 22:34:45 -07:00
mezz
c560af69a5
Fix log spam from invalid key modifiers ( #2746 )
2016-04-09 17:02:03 -07:00
Kina
68cd48287b
make WorldSavedData implement NBTSerializable ( #2745 )
2016-04-09 16:09:06 -07:00
mezz
a018e14939
Add cancelable event for Potions shifting the gui position ( #2667 )
...
Add cancelable event for Potions shifting the gui position
2016-04-08 20:18:17 -07:00
LexManos
2a4067a539
Fix being kicked from server when climbing ladders.
2016-04-07 13:12:10 -07:00
LexManos
8fefac110e
Fix potential desync between Forge's Villager profession and vanilla's int based system.
2016-04-07 12:29:00 -07:00
LexManos
fbe628d058
Merge pull request #2729 from kashike/feature/bossinfo
...
Remove @SideOnly(Side.CLIENT) from BossInfo/BossInfoServer methods
2016-04-06 16:19:18 -07:00
kashike
72edc41a7c
Remove @SideOnly(Side.CLIENT) from BossInfo/BossInfoServer methods
...
These methods can also be used by the server (see BossInfoServer, it sends packets to the client but the methods are @SideOnly(Side.CLIENT))
2016-04-06 15:57:54 -07:00
mezz
7587ca7c71
Fix #2717 Pick block hotkey not working in inventories
2016-04-05 18:25:25 -07:00
Zaggy1024
68023ce40b
Fixed using PlaySoundEvent to replace a sound with a PositionedSound causing an NPE due to the Sound field not being set by a call to ISound.createAccessor(SoundHandler).
2016-04-04 22:18:34 -05:00