mezz
2bd8b95a3b
Cleanup some null checks and remove deprecated methods in Item and Block ( #3429 )
2016-11-22 15:20:05 -08:00
LexManos
b039e2172b
Fix ItemStack null check in PlayerInteractionManager
2016-11-18 15:29:55 -08:00
Shadowfacts
b4881195b3
Move EntityHorse capability patches to AbstractHorse ( #3417 )
...
Fixes #3409
2016-11-18 15:29:18 -08:00
LexManos
f12a4b5c1e
Fix Item transfers related to Hoppers.
2016-11-18 14:42:22 -08:00
TechnicianLP
668bf47337
Remove Block.addInformation exists in vanilla ( #3413 )
2016-11-18 13:24:49 -08:00
iChun
1fa0c0c548
Add GetCollisionBoxesEvent. Allows manipulation of the collision boxes of blocks for entities. MC1.11 edition. ( #3405 )
2016-11-18 12:24:55 -08:00
LexManos
97ea0c4713
First draft of Entity Registry re-write.
2016-11-17 19:06:42 -08:00
LexManos
5ac6d374ed
Make Wither Skulls respect Block.canEntityDestroy. Closes #3404
...
(cherry picked from commit 6b52023a5c341420d976cb50359e2a2a4a6a9192)
2016-11-17 12:49:18 -08:00
Bartosz Skrzypczak
658769ea45
Added EnumHand parameter to Block.getStateForPlacement ( #3402 )
2016-11-17 12:22:14 -08:00
LexManos
96ef9b564b
Fix client side placement issue on blocks with GUIs. Closes #3399
2016-11-17 12:15:28 -08:00
LexManos
85a2a2e661
Fix issues with ZombieVillagers Closes #3398
...
1.11 doesn't intertwine zombie types anymore so our edits to split them out for custom professions are not needed.
2016-11-17 12:14:23 -08:00
mezz
150566d9a3
[1.11] Fix nullability issues around ForgeHooks and Capabilities ( #3395 )
2016-11-17 10:44:31 -08:00
LexManos
6dcd276de1
Restore the ability to register modded TileEntities.
2016-11-16 16:54:34 -08:00
mezz
eb6b3ea228
Implement fluid item capabilities without item swapping
2016-11-16 16:17:21 -08:00
LexManos
3ea027c3bd
Fixed damage bar color. Closes #3389
2016-11-16 16:06:12 -08:00
LexManos
6741967608
Make EntityShulker fire EnderTeleportEvent. Closes #3383
...
(cherry picked from commit d48985fafaed6de6f09136b999ca8aa44184a7b9)
2016-11-16 16:05:41 -08:00
LexManos
f0d9bf7886
Added event to allow modification of player visibility to mobs/AI ( #3382 )
...
(cherry picked from commit 0a5ef64d6ea96fe85d7c62107081ced649e6a3e9)
2016-11-16 15:10:14 -08:00
LexManos
def75dc092
Restore another missing patch in WorldProvider.
2016-11-16 14:27:06 -08:00
LexManos
b067435fa3
Disable capabilities for empty ItemStacks.
2016-11-16 14:26:47 -08:00
mezz
e498dc7532
[1.11] Fix initCapabilities for ItemStacks ( #3379 )
2016-11-16 14:15:02 -08:00
LexManos
cc48280a8b
Apply missed patch to WorldProvider.
2016-11-16 13:57:01 -08:00
LexManos
f8cba13b5b
Fix localizations not loading correctly in legacy resource packs.
2016-11-15 22:59:31 -08:00
LexManos
41916ae39a
Fix FurnaceRecipy registration.
2016-11-15 22:34:48 -08:00
LexManos
648067efc2
Fixed test cases for 1.11 changes.
2016-11-15 20:28:12 -08:00
LexManos
c459b87ec9
Initial 1.11 release update.
2016-11-15 19:26:10 -08:00
cpw
4e6a774075
Initial 1.11-pre1 update
2016-11-13 17:09:55 -05:00
cpw
c177219ff3
regenerate entitylivingbase patch
2016-11-12 10:16:10 -05:00
Draco18s
998a78c3c1
Added events for crop growth ( #3320 )
2016-11-07 14:40:44 -08:00
Max Becker
42e0fbbb02
Add support for custom entity selectors in commands ( #3356 )
2016-11-05 13:12:05 -07:00
Choonster TheMage
9a9c02fa25
Add hand argument to BlockEvent.PlaceEvent ( #3221 ) ( #3270 )
2016-11-03 11:53:12 -07:00
Aaron Hill
5c78361b27
Fixed Block.setBedOccupied ignoring 'occupied' parameter
2016-10-31 17:45:43 -07:00
Raoul
56e347d05a
Add Item#getNBTShareTag ( #3342 )
...
* Add Item#getNBTShareTag
* Update comment
2016-10-30 12:24:14 -05:00
boni
5f9034d95b
Call Looting Event on player death and loot table drops ( #3275 )
...
* Call Looting Event on player death and loot table drops
* Simplify patches
* More code cleanup: Replace old usage with compact forgehooks implementation
2016-10-30 10:53:50 -05:00
LexManos
858056c089
Fix POTENTIAL issue with Texture Stitcher exceeding max size.
2016-10-25 00:34:45 -07:00
LexManos
1eee6cd382
Fixed texture stitcher not using full texture height before expanding width.
2016-10-23 19:57:49 -07:00
LexManos
159ca09c54
Special case not drooping snowballs for water and snow layers. Closes #3326
2016-10-23 14:07:24 -07:00
Ben Staddon
9ecb005e98
Fix MC-105406 (OpenGL leak in View Frustum) ( #3308 )
2016-10-23 12:32:44 -07:00
mezz
b0558c63de
Fix very laggy mipmap slider MC-64581 ( #3305 )
2016-10-23 12:30:44 -07:00
Shadowfacts
80f0e0bb93
Add Block#getStateForPlacement ( #3129 )
2016-10-15 11:09:23 -07:00
mezz
bea5d44273
Add better key modifier behavior for GUI contexts ( #3307 )
2016-10-14 13:14:27 -07:00
tterrag
7bbd3954f5
Make item repair recipe respect itemstack's getMaxDamage ( #3295 )
2016-10-11 16:40:59 -07:00
LexManos
cfa63792bc
Fix infinite loop in dragon fight when the dragon is over the void.
2016-10-11 12:35:18 -07:00
mezz
3a3c436e3f
Fix unbound keybindings are activated by unknown keyboard keys ( #3288 )
2016-10-02 11:02:48 -07:00
Ivorius
c58a66a816
Fix roofed forests posting decoration events for small mushrooms rather than big ( #3259 )
2016-09-17 10:51:35 -07:00
Matthew Messinger
2aaa4f424d
Add support for offhand bow aiming animation ( #3085 )
...
Vanilla allows you to use a bow in your offhand, but it's not visible to others or in third person.
Fixes MC-88356
2016-09-16 18:53:17 -07:00
LexManos
f08f3c1105
Fixed Biome.platFlower not being called when bonemealing grass. Closes #3254
2016-09-14 12:57:56 -07:00
Steven Blom
8dca9f2694
New event to allow mutating a baby entity based on it's parents ( #3227 )
2016-09-13 09:32:27 -07:00
Paul Fulham
cac55abec2
Fix debug command creating empty file (MC-103399) ( #3218 )
2016-09-13 00:31:43 -07:00
LexManos
b879cc9b73
Fix potential shading issue in GuiEditArrayEntries. Closes #3247
2016-09-12 14:48:55 -07:00
LexManos
5964bf8cb2
Fixed ItemStacks having ForgeCaps tag when no caps are serialized.
2016-09-11 11:05:48 -07:00
LexManos
24cccab718
Fix Cactus being able top be planted on incorrect soil.
2016-09-11 10:42:06 -07:00
bloodmc
ca1f704e2f
Fix wrong var being used during getMaxSpawnPackSize check. ( #3240 )
2016-09-09 11:27:10 -07:00
LexManos
f9c7caaf0c
Move dismount version of EntityMountEvent to Entity class. Should fix canceling dismounting. Closes #3226
2016-08-29 15:49:59 -07:00
LexManos
a05d4234f0
Yet another fix for stupid stairs. Closes #3224
2016-08-26 22:01:01 -07:00
LexManos
c3fe6ecf7c
Make StructureBlock TESRs always render. Closes #3222
2016-08-26 15:26:29 -07:00
LexManos
12769dbaae
Fixed decorate event being called with SHROOM type for both convered trees and large mushrooms. Closes #3215
2016-08-22 16:40:24 -07:00
boni
3222a9a771
Revert changes to ItemTool for binary compatibility ( #3211 )
2016-08-20 13:53:04 -07:00
boni
8dbfe1baad
Expand getHarvestLevel to include player and blockstate ( #3192 )
2016-08-19 15:54:37 -07:00
LexManos
7f40d90b75
Make enchantment tables spawn particles for any custom energy provider. Closes #3208
2016-08-19 15:11:43 -07:00
Vincent Lee
b25a9256d3
Allow blocks to affect the beacon color ( #3205 )
2016-08-17 16:06:35 -07:00
LexManos
f3d0d99404
Fix armors rendering badly. Closes #3196
2016-08-15 15:19:52 -07:00
Abastro
bfddcfb4fc
Introduced Capabilities for World ( #3069 )
2016-08-13 20:42:00 -07:00
LexManos
b5db198f8b
Fix vanilla bug in BlockFalling that caused blocks to loose state info during world gen. Closes #3183
2016-08-13 14:52:58 -07:00
MrIbby
d17c025557
Added PlayerBrewedPotionEvent ( #3187 )
2016-08-13 13:38:45 -07:00
LexManos
20c662c1d0
Fix leather armor overlay not rendering when armor is pure white. Closes #3184
2016-08-13 13:02:59 -07:00
Florian "Sangar" Nücke
180692ae5d
Make InventoryHelper#spawnItemStack use ItemStack#splitStack to avoid losing capability data. ( #3163 )
2016-08-12 14:38:24 -07:00
LexManos
4cd0f88a69
Add RenderTooltipEvent ( #3034 )
2016-08-12 13:57:07 -07:00
LexManos
704b683e27
Fix Fire not using getFireSpreadSpeed. Closes #3175
2016-08-09 17:04:55 -07:00
LexManos
1c11a3622e
Fix issue with stairs.
2016-08-09 02:34:17 -07:00
LexManos
ef28edb526
Make stair culling use actual state, and be more robust. Closes #3170
2016-08-08 17:32:32 -07:00
LexManos
f088e3df6b
Second pass at fixing 'Dissapearing Doors' This now more robustly fixes ALL uses of get and has slight performance improvements for itterable states. Closes #3139
2016-07-31 14:30:05 -07:00
LexManos
0f6b16cada
Added config option to disable Forge's fix of Stair/Slab face culling.
...
Some vanilla resource packs exploit this issue in their custom models causing unintended rendering issues.
2016-07-30 10:31:46 -07:00
LexManos
4694152124
Fixed 'Dissapearing Doors', An issue where the world would try to save blockstates that are not serializeable.
2016-07-29 16:54:25 -07:00
cpw
0cba2ed4eb
Allow CommandEvent to change the parameter set. Closes #1762
2016-07-29 17:15:19 -04:00
cpw
1473334f61
Merge remote-tracking branch 'origin/pr/3120' into 1.10.x
2016-07-28 23:15:32 -04:00
cpw
2aa7260bbb
Refresh patch after cherry pick (cherry picked from commit 71f75bf)
2016-07-28 21:12:17 -04:00
Vincent Lee
2eb3b72618
Fix MC-91728
...
(cherry picked from commit 71f75bf)
2016-07-28 21:10:02 -04:00
Vincent Lee
36d7148c5f
Remove sideonly on all other SoundType methods
...
(cherry picked from commit 46c7cac)
2016-07-28 21:03:08 -04:00
Me4502
579f028294
Fixed NeighborNotifyEvent not containing the piston facing direction.
...
(cherry picked from commit 5637c41)
2016-07-28 20:51:06 -04:00
cpw
b380ba717f
Clean up block patch. Also push json update.
2016-07-28 18:51:40 -04:00
cpw
9f9554f7e2
Merge remote-tracking branch 'origin/pr/3116' into 1.10.x
2016-07-28 18:48:51 -04:00
cpw
46cfaae3db
Merge remote-tracking branch 'origin/pr/3089' into 1.10.x
2016-07-28 18:43:40 -04:00
cpw
bc82f2ae5a
Fix #3126 - duplicate stat id error - don't use the "universal iterators" in statbuilding, use the one without the duplicate entries. (The duplicate entry one is for rendering setup)
2016-07-28 15:56:30 -04:00
cpw
ab64d1a166
Fix a vanilla bug with the blockstate ID map not being properly symmetric with respect to block.getStateFromMeta - closes #3012 properly but probably has a random MCJIRA ticket somewhere too.
2016-07-26 17:16:42 -04:00
Dakota Pierone
0cf2cdfdb3
Update decorate for biomes to support Decorate event
2016-07-24 10:40:14 -07:00
Vincent Lee
f8ec3602f2
No-nonsense getSoundType
2016-07-24 11:44:21 -05:00
cpw
5a3047fbc2
Merge remote-tracking branch 'origin/pr/3072' into 1.10.x
2016-07-24 11:09:54 -04:00
cpw
fe96792506
Merge remote-tracking branch 'origin/pr/3087' into 1.10.x
2016-07-24 10:57:47 -04:00
cpw
cfba330459
Rename the event to RenderSpecificHandEvent
2016-07-24 10:56:05 -04:00
cpw
31b3825069
Merge remote-tracking branch 'origin/pr/3115' into 1.10.x
2016-07-24 10:38:20 -04:00
cpw
cace1f00b2
Merge remote-tracking branch 'origin/pr/3110' into 1.10.x
2016-07-24 10:08:46 -04:00
cpw
f96a31c945
Merge remote-tracking branch 'origin/pr/3112' into 1.10.x
2016-07-24 09:57:08 -04:00
Bernhard Bonigl
bc27f0e204
Add shouldCauseBlockBreakReset callback to Item. This allows to keep breaking blocks if the NBT or similar changes.
2016-07-24 13:52:27 +02:00
Joseph C. Sible
b95d443f22
Add CreateFluidSourceEvent to control infinite fluid sources
2016-07-23 22:39:54 -04:00
Vincent Lee
94a41e1fcc
Add hand-specific render event
2016-07-23 12:29:58 -05:00
mezz
a963c9854d
Fix hotkey with default modifier loading wrong when modifier set to NONE
2016-07-23 03:10:29 -07:00
Terrence Ezrol
cc0e6a1825
Fix async race condition on new chunks ( closes #3020 ) ( #3090 )
...
This patch fixes a race condition that sometimes caused a just generated chunk
to be generated a second time. In some this caused generated structures to
appear incomplete such as in Issue #3020 when the second generated version
effectively overwrote the original version of the chunk.
This patch ensures when ProvideChunk calls LoadChunk synchronously we always
attempt to load the chunk (if not cached) thus avoid the race condition without
changing the logic for async loading for chunks already saved to disk.
Thus this should retain the async functionality from PR #2946 while preventing
generation issues caused by the race condition.
2016-07-21 18:51:45 -04:00
mezz
93a7ac3d89
Add TextureDump forge test mod
2016-07-13 17:04:47 -07:00
CreativeMD
db2f5ab416
Fixed sound paused/resume issue
2016-07-13 20:10:38 +02:00
mezz
ae0c02159f
Force mipmap even if textures are the wrong size
2016-07-13 05:23:01 -07:00
cpw
7e36205ba7
Merge #3060 into 1.10.x
2016-07-09 11:58:09 -04:00
Vincent Lee
591ecdd7c9
Move to a hook in EntityMinecart
2016-07-09 08:53:07 -05:00
Vincent Lee
f76af6103e
Add throwable impact event ( #3071 )
2016-07-08 21:12:45 -07:00
Vincent Lee
7b5a5fbcbe
Add ability for custom detector rail output
2016-07-08 21:14:55 -05:00
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