mezz
32dc726df1
Prevent player from dying infinitely due to zero max health (MC-119183)
2017-07-20 21:54:46 -07:00
malte0811
a6b9fbfa9f
[1.12] Allow the server to handle item-block interaction if onItemUse doesn not return PASS ( #3967 )
2017-07-20 17:11:50 -05:00
Madsthunder
ad15209f8d
Allow support for custom Shields and Shield disabling weapons.
2017-07-20 16:44:37 -05:00
diesieben07
fb10d7cbd4
Ignore fortune for anything but seeds in crops ( #4160 )
2017-07-20 16:31:16 -05:00
LexManos
afea45dccc
Fix tripwire statemap not being complete when mappings change. Closes #3924
2017-07-18 12:53:55 -07:00
LexManos
6167bbfea9
Fixed issue where rendered held items wouldn't properly update when the reequip animations isnt shown. Closes #4175
2017-07-13 15:21:57 -07:00
Ben Staddon
ead0e81025
Remove unneeded block patches ( #4167 )
2017-07-12 21:49:21 -07:00
Vincent Lee
4df20daf41
Allow advancement icons to have nbt ( #4114 )
2017-07-08 15:14:29 -05:00
LexManos
80da39d4e3
Attempt fix, or at least better debugging for RecipeBook accessing unknown recipes.
2017-07-08 13:08:44 -07:00
LexManos
0215e2e128
Fix MC-68754, Screen is not resizeable after exiting fullscreen due to LWJGL bug
2017-07-08 13:08:06 -07:00
mezz
d3c11c2b4f
Use Item's custom FontRenderer for tooltips in the Creative Gui ( #4101 )
2017-07-08 00:19:49 -07:00
mezz
02ef4155c8
Fix Recipe Toast crash when granted more than 5000 recipes ( #4124 )
2017-07-07 23:47:58 -07:00
mezz
3847a2cf5d
Throw packet encoding exceptions instead of suppressing them, to prevent corrupt packets ( #4144 )
2017-07-07 04:39:27 -05:00
mezz
5fc380665e
Include location of the call when a mod uses System.out or System.err ( Fix #4135 )
2017-07-04 23:20:04 -07:00
mezz
c1ae2cdbf2
Improve furnace fuel handling ( #4083 )
2017-07-03 12:54:01 -07:00
Xalcon
e1a2bcf902
Add isSpawner parameter to the CheckSpawn event ( #4075 )
2017-07-03 12:45:57 -07:00
E2
43be1f46a5
RenderLivingEvent now stores partialTick
...
2
2017-07-03 12:20:45 -07:00
covers1624
9e413de6c9
Added Block::getFogColor to allow custom blocks to control fog colors while inside them. ( #4090 )
2017-06-28 17:23:32 -05:00
LexManos
10ca404e9e
Fix the creative menu search function. Closes #4100
2017-06-27 21:34:03 -07:00
LexManos
a4fb33d945
Add support for loading mod advancements from the mod jar files.
2017-06-27 15:18:52 -07:00
Vincent Lee
a480fa0821
Remove outdated patch to BlockDoublePlant
2017-06-26 22:37:17 -07:00
Ben Staddon
9a09ff68aa
Remove some deprecated methods and clean up
2017-06-25 22:30:18 -07:00
mezz
7892ca922c
Remove the call to client.refreshResources during loading ( #4032 )
2017-06-25 22:13:58 -07:00
Fry
0f7ec7e7fd
Added dependencies and dependency ordering for textures. ( #4070 )
2017-06-26 07:58:19 +04:00
ichttt
690c9bb76a
Further Java 8 cleanup ( #4077 )
2017-06-25 14:25:57 -07:00
LexManos
3738a2e42b
Fix missed side only on BlockFlower
2017-06-25 12:24:07 -07:00
LexManos
368d206cc6
Make Block.getSubBlocks not client side only.
2017-06-25 11:17:31 -07:00
RainWarrior
dc043ac79f
Cleanup of model system, taking advantage of java 8;
...
replaced guava Optional and Function with java 8 versions.
2017-06-25 04:08:20 +03:00
LexManos
1c24600bbb
Reload client recipe book after loading modded recipes.
2017-06-24 15:34:09 -07:00
LexManos
efd8b38be9
Make getSubItems non-client only. Use it for Ingredient iteration.
2017-06-24 14:47:48 -07:00
LexManos
478a84e748
Fix Emerald generation causing chunk loading.
2017-06-24 14:47:11 -07:00
mezz
72f037b0fa
Add Block.getDrops that uses NonNullList, deprecate the old method. Fix #3567 ( #3778 )
2017-06-24 03:05:42 -07:00
mezz
a8734e368d
Remove arrival/departure message methods from WorldProvider ( #2733 )
2017-06-24 02:02:56 -07:00
KingLemming
c0188d3228
Use instanceof ItemFishingRod instead of item equality ( #4060 )
2017-06-24 01:26:36 -07:00
TechnicianLP
f670ec4f0b
Fix onBlockClicked handler firing twice and Item.onArmorTick in the wrong place ( #4037 )
2017-06-24 01:01:28 -07:00
Ben Staddon
b0dfaa2b81
Remove Java 8 warnings now that Minecraft requires it
2017-06-23 23:31:50 -07:00
Ben Staddon
286f6a910b
Fire AnimalTameEvent for parrots ( #4003 )
2017-06-23 23:11:47 -07:00
LexManos
d032a34aaa
Fix conflicts
2017-06-23 16:59:57 -05:00
LexManos
dee84dc1e4
More work, game loads and runs now.
...
Moved Registry events to directly AFTER PreInit instead of before.
This allows modders to register handlers for it without @EventBusSubscriber.
It also allows you to register custom things needed before the construction of blocks or items such as Fluids.
TODO: Move Fluids to a real registry.
@ObjectHolder can now be used on private fields.
Reworked FMLModIdMappingEvent to include data for all registries.
Tile Entities are now registrable.
2017-06-23 16:59:57 -05:00
LexManos
a26d89c876
First pass of registry rewrite.
...
Tests do not run yet.
Things of note:
Removed the idea of substitutions, just register multiple items with the same name they will override each other like a normal map.
Decoupled Forge registries from vanilla classes. They now use bouncer classes. MODDERS SHOULD NEVER USE THESE
Introduced more stringent registry locking. As it sits things are only allowed to be registered during the RegistryEvent.Registry phases!
This is to force modders to split up their registrations, and pave the way for calling these functions multiple times during a single MC lifecycle.
ObjectHolder, Missing Mappings, etc... *should* now work for all registry types, nothing should be special cased to Blocks/Items anymore.
Added optional generic dummy factory to registries, to allow registry creators the ability to dummy more then just Blocks.
Re-worked the ItemStack transformer and applied it to ItemBlock and ItemBlockSpecial. Allowing us to cleanup reflective hacks in Block callbacks.
Registry onAdd callback is now only fired on the ACTIVE registry, fixing any issues of temp registries overriding active objects.
2017-06-23 16:59:57 -05:00
diesieben07
0e9820c51c
Clean up Logging ( #3953 )
...
# Conflicts:
# patches/minecraft/net/minecraft/client/renderer/texture/Stitcher.java.patch
# patches/minecraft/net/minecraft/client/renderer/texture/TextureMap.java.patch
# patches/minecraft/net/minecraft/entity/EntityList.java.patch
# patches/minecraft/net/minecraft/tileentity/TileEntity.java.patch
# src/main/java/net/minecraftforge/oredict/OreDictionary.java
2017-06-22 23:18:49 -07:00
mezz
98f464ad43
Fix Chunk patch ( #4036 )
2017-06-20 20:40:45 -07:00
mezz
17a714f7fd
Fix patches in Chunk and Explosion ( #4036 )
2017-06-19 23:27:52 -07:00
mezz
c6d7c7c11f
Fix itemstack comparison with null
2017-06-19 23:27:52 -07:00
Ben Staddon
80d9beedc9
Remove unused patch to ItemRecord. Closes #2686 . ( #4035 )
2017-06-19 16:47:01 -07:00
mezz
c2845967cc
Update MCP mappings to 20170617
2017-06-17 18:06:04 -07:00
cpw
4a4c38b4e0
Patch a small bug in SPacketLoginSuccess that lets us emulate the network
...
handshake. This will be very useful as I rebuild the networking.
2017-06-16 22:00:54 -04:00
LexManos
22d243e70d
Fix NPE in config menu with custom keybinds. Closes #3985
2017-06-14 10:23:49 -07:00
LexManos
a8659a1613
In-progress Registry system enhancement.
...
Needs cpw to take a look at enabling removing/overriding in the registry stuff.
But in theory it loads json recipes for mods now.
2017-06-14 10:14:56 -07:00
LexManos
f1cca475ea
Initial patch update to 1.12.
...
Some things to note:
Netty is screwy so currently can't join single player. @cpw
Crafting has been MAJORY reworked. The current GameRegistry functions are nooped, this is IN THE WORKS.
Just need to move the recipe list to a full class registry, and then re implement the in-code recipe registration.
Also, it IS advised that modders move to JSON, because ideally we'll see a S->C recipe syncing system in 1.13
which would allow servers to have custom recipes.
OreDictionary currently 1/2 works, need to write a better algorithm for replacing ingredients.
Please be patient
Rendering:
A lot of functions got a new float parameter, this is similar to partial ticks, needs more research
2017-06-10 22:22:02 -04:00
mezz
286777b824
Fix getShareTag replacing data on the server ( #3776 ) Closes #3682
2017-06-04 18:38:16 -07:00
LexManos
c544f06880
Fix shaders not loading from mod domains Closes #3921
2017-06-01 15:47:49 -07:00
Ben Staddon
d867bd299f
Clean up MapData patch ( #3905 )
2017-06-01 14:38:12 -07:00
TechnicianLP
ca298ef6aa
NBTTagList implements Iterable<NBTBase> ( #3884 )
2017-06-01 14:37:22 -07:00
Vincent Lee
df52accf76
Fix canRiderInteract being called on the wrong entity ( #3934 )
2017-06-01 14:35:05 -07:00
Erlend Åmdal
e2f60c1aaf
Deprecate vanilla getExplosionResistance and properly annotate the forge replacement ( #3929 )
2017-06-01 14:32:37 -07:00
Mathe172
9c148b56f8
Fix patches of GuiScreen( #3704 ) and ItemDye( #3736 ) ( #3878 )
2017-05-26 14:19:58 -07:00
Ben Staddon
c6f181dcb2
Fixes for PlayerDestroyItemEvent being called with empty itemstacks. ( #3728 )
2017-05-26 13:54:13 -07:00
Madsthunder
7976ac4a2b
[1.11.2] Added support for Village capabilities ( #3648 )
2017-05-26 13:51:18 -07:00
diesieben07
03e922fa05
Disable frost walker enchantment on anything but vanilla water ( #3906 )
2017-05-21 13:52:25 -07:00
Matthew Messinger
81d61218b6
Fix head being angled badly when riding mobs. Fixes MC-1207 ( #3901 )
2017-05-21 12:37:28 -07:00
mezz
61d00dd05f
Fix MC-117087, prevent calling Class.getSimpleName on TEs unnecessarily ( #3873 )
2017-05-06 12:19:51 -07:00
Max Becker
34463690c5
Changed custom entity selectors from event based to factory based. ( #3579 )
2017-05-01 18:36:24 -07:00
ichttt
6ffd94a08e
Create ItemFishedEvent, the event is cancelable, but items are not mutable. Use LootTables to control that. ( #3705 )
2017-05-01 18:10:47 -07:00
Ben Staddon
003d0c601d
Relocate TileEntity#onLoad call to after it's added to the world instead of the chunk so as to have a valid world reference ( #3836 )
2017-05-01 17:41:37 -07:00
Madsthunder
93a4e13837
[1.11.2] Fixed Zombie Villagers not setting and getting professions correctly ( #3678 )
2017-04-30 21:59:57 -07:00
LexManos
d84ee35245
Fix NumberFormatException being thrown for empty ItemStack deserialization
...
Thanks @gabizou, 1.11.2 version of #3830
2017-04-09 23:13:13 -07:00
mezz
582f33fc85
Fix mutable blockpos leak MC-114281 ( #3742 )
2017-04-07 17:36:36 -07:00
Daomephsta
f92425cf71
Fix typo in LootEntry.Serialiser causing incorrect serialisation. Closes #2757 , Fixes MC-115407 ( #3823 )
2017-04-07 17:09:56 -07:00
PhiPro95
5f4cd69167
Fix invulnerable items becoming invisible client side MC-53850 ( #3807 )
2017-04-07 17:03:43 -07:00
John Protsen
dbc6baf2f7
Add Item.canDestroyBlocksInCreative() allowing more items to not break blocks in creative ( #3805 )
2017-04-07 16:59:21 -07:00
Kina
2c7c538c73
Fixed HarvestDropsEvent issue by fixed-length lists on getDrops ( #3778 )
2017-04-07 16:51:21 -07:00
mezz
2234039b96
Add GenerateMinable event for mesa gold ( #3774 ) Closes #3738
2017-04-07 16:48:28 -07:00
Ben Staddon
901df8345c
Add AnimalTameEvent for handling animal taming ( #3763 )
2017-04-07 16:47:28 -07:00
Ben Staddon
f22874d3be
Added missing bounds check to ChunkCache.getBiome ( #3752 )
2017-04-07 16:43:09 -07:00
Vincent Lee
72dd06ca85
Allow result of PlayerInteractEvent to be changed when it's cancelled ( #3744 )
2017-04-07 16:38:56 -07:00
Choonster TheMage
5ffbbd3b9f
Add EnumHand and ItemStack to BonemealEvent ( #3736 )
2017-04-07 16:31:51 -07:00
Da-Technomancer
fd0dabd60c
Added a boolean flag for disabling Entity onUpdate ( #3731 )
...
The flag is false by default, and if true the Entity will not update. It is saved and loaded from NBT, and is called updateBlocked. Modders are responsible for managing this flag for entities they with to 'freeze' or 'unfreeze'.
2017-04-07 16:28:53 -07:00
Paulo "JCranky" Siqueira
be2d814155
Add LootTableManager to the LootTableLoadEvent ( #3717 )
2017-04-07 16:22:49 -07:00
TheMasterGabriel
b99aa9bca4
Fix EntityFallingBlock check for ITileEntityProvider ( #3711 )
2017-04-07 16:18:45 -07:00
Lance
671d462645
Added ClientChatEvent. Closes #1442 ( #3704 )
2017-04-07 16:09:46 -07:00
kashike
9619be4a17
Use thread groups to detect the effective side ( #3644 )
2017-04-07 15:35:58 -07:00
Silly511
f0eb941abc
New LivingDestroyBlockEvent for controlling if some entities can destroy blocks ( #3628 )
2017-04-07 15:34:26 -07:00
LexManos
f2425b7486
Fix breaking particles on dedicated server. Closes #3825
2017-04-06 13:16:01 -07:00
LexManos
d850ca890f
[MC-2518] Fixed missing break sound and particles. Closes #3821
2017-04-05 14:28:28 -07:00
Kirill Kuznetsov
b6194b0cca
[1.11.x] Fix blank tab in creative inventory when additional tabs evenly divisible by 10 ( #3817 )
2017-04-02 19:50:10 -07:00
LexManos
72937c90be
Fix vanilla bug where player reputations villages were reset on read.
...
Deprecated Username based API in favor of UUID based API.
2017-03-31 02:33:39 -07:00
LexManos
c1a38c541a
Fix error when reading world info for old saves with missing dimensions. Closes #3786 #3331
2017-03-15 02:51:52 -07:00
mezz
4fbc847736
Detect and log cascading chunk generation issues during terrain population ( #3756 )
2017-03-14 21:19:47 -05:00
Earthcomputer
43375ded29
Fix duplicate achievements getting added to the achievement list ( #3770 ) ( #3779 )
2017-03-14 21:04:09 -05:00
diesieben07
55587fca08
Fix parameter-names for WorldProvider.shouldMapSpin ( #3767 )
2017-03-07 15:29:09 -08:00
Paul Fulham
45e0738f43
Fix MC-112730 TE global renderer duplicate render ( #3651 )
...
* Fix TE global renderer duplicate render
2017-02-26 12:21:30 +04:00
Bartek Bok
724ffe1d70
Fix entity write catch block ( #3726 )
2017-02-24 16:03:19 -08:00
Bartosz Skrzypczak
c49ff259b5
Fixed TESR items not rendering correctly before entering world (MC-112292) ( #3666 )
...
Fixed crash when rendering text in TESR items before entering world
2017-02-23 18:41:57 -08:00
sjx233
2003dee17f
Add DifficultyChangeEvent ( #3525 )
2017-02-23 18:12:27 -08:00
David Quintana
a6284e6053
Allow mods to set other default "home dimensions" for respawning. ( #3528 )
2017-02-23 18:08:58 -08:00
Vincent Lee
a15dee61d6
Persist PotionEffect curative items and initialize defaults from Potion ( #3573 )
2017-02-23 18:04:06 -08:00
Guichaguri
384567c4a5
Added Forge slot methods to creative container ( #3581 )
2017-02-23 18:01:09 -08:00
Vincent Lee
d3e4fde2b2
Restore missing Biome GetWaterColor event. Closes #3164 . ( #3625 )
2017-02-23 17:47:21 -08:00
CoderAtParadise
da5b2201fa
Fixed Missing Furnace Fuels ( #3627 )
2017-02-23 17:46:37 -08:00
Ben Staddon
64cb9cdafd
Prevent concurrent modification of ClassInheritanceMultiMap ( #3632 )
2017-02-23 17:20:25 -08:00
Ben Staddon
64c9aae0c4
Fixed ChunkCache.getTileEntity creating tile entities off world thread.
2017-02-23 17:12:37 -08:00
LexManos
a4a6d5fa6c
Fixed Flower Forests not having proper flowers. Closes #3652
2017-02-23 15:51:36 -08:00
LexManos
7cdbe5d518
Fix Poppy to Dandelion ratio
2017-02-23 15:50:30 -08:00
CreativeMD
3c3fcc0ffd
Add implementation for Living Attack event on client-side for players ( #3667 )
...
* Fixed unused import
2017-02-23 15:35:44 -08:00
Ben Staddon
ab4c4db0d5
Fix bug caused by ItemMinecart patch ( #3672 )
2017-02-23 15:27:02 -08:00
Vincent Lee
e5eb2e795b
Make getRGBDurabilityForDisplay use getDurailityForDisplay by default. Closes #3670 ( #3673 )
2017-02-23 15:25:43 -08:00
Ben Staddon
d3c6130f88
Use Forge setting to determine baby zombie chance. Fixes #3690 .
2017-02-23 15:18:59 -08:00
LexManos
403eda184a
Properly fix IShearable implementation. Fixes shears taking damage twice, mooshroom particles, and blocks dropping incorrect loot.
2017-02-23 15:15:48 -08:00
LexManos
6ae39ac027
Fix hoppers being able to insert shulker boxes into shulker boxes.
2017-02-21 14:22:28 -08:00
Kevin G
7aa1e00f31
Fix for bad decompile process on Particle.java that causes onGround flag to not get set properly as well as motionX and motionZ not being set to 0 when their axis has collision happening ( #3716 )
2017-02-19 21:39:27 -08:00
Vincent Lee
a605c64c49
Fix ClientTickEvent Post firing inside another profiler section ( #3715 )
2017-02-19 21:21:48 -08:00
Vincent Lee
1d6cd35a09
Fix Item.doesSneakBypassUse being applied incorrectly.
2017-02-19 21:19:43 -08:00
James Mitchell
5f6bf3b063
Stop rotation of extended pistons, beds, and double chests Fixes #3634
...
Fix rotation of repeaters and comparators
2017-02-19 10:48:43 -08:00
Florian "Sangar" Nücke
caa85b33bf
Fixed TileEntity#getRenderBoundingBox not offsetting correctly causing more TEs to render then needed ( #3709 )
2017-02-19 09:07:12 -08:00
diesieben07
6745022d46
Fix spawn-fuzz formula ( #3695 )
2017-02-12 13:28:27 -08:00
LexManos
4a6b3ef6e3
Fix world spawn fuzz. (reverted from commit 450c3a80c1
)
...
Protip Don't code while groggy.
2017-02-12 12:18:21 -08:00
LexManos
450c3a80c1
Fix world spawn fuzz.
2017-02-12 12:11:40 -08:00
diesieben07
0e9d741163
Fix some cases where world time is not passed through the WorldProvider. ( #3685 )
2017-02-11 11:22:25 -08:00
mcenderdragon
dcc76ccb58
this finaly fixes #2866 ( #3656 )
2017-01-24 10:30:31 -08:00
Vincent Lee
ba875418fd
Fix MC-111753 ( #3655 )
2017-01-24 10:29:43 -08:00
James Mitchell
1e7eb6fb09
Fix #3635 MC-103403 fix ingredient count for ingot block recipes ( #3640 )
2017-01-17 15:40:09 -08:00
LexManos
7da6c2d0e1
New client config option to force all chunk rendering off the main thread.
...
This may help FPS issues, but may also result in world holes/rendering issues.
Also fix Forge configs not saving properly.
2017-01-17 13:34:03 -08:00
LexManos
50bf03b82b
Cache entity constructors for a small performance optimization
2017-01-17 13:07:22 -08:00
Choonster TheMage
d53397111b
Fix Biome#getSpawnableList returning an empty list for non-vanilla EnumCreatureTypes ( #3611 )
2017-01-11 22:19:29 -08:00
diesieben07
df0f1c4e75
Allow block to specify their type for AI pathfinding ( #3546 )
2017-01-11 16:43:41 -08:00
Ben Staddon
9835e3705c
Fix vanilla bug MC-98707 ( #3565 )
2017-01-11 16:32:28 -08:00
Justin
aed00b5dce
Add missing patch to ItemStack isItemStackEqual ( #3577 )
2017-01-11 16:27:11 -08:00
Ben Staddon
a718077a2e
Fix ContainerRepair patch to prevent NPE ( #3553 )
2017-01-11 16:14:38 -08:00
liach
d672584b8d
Removed an unsafe usage of EntityMinecart.getType()
( #3592 )
2017-01-11 16:13:14 -08:00
Vincent Lee
a824214333
Fix milk not working on anything at all ( #3574 )
2017-01-11 15:19:20 -08:00
James Mitchell
c545b8ecd4
Clean up null issues, add more annotations ( #3590 )
2017-01-11 15:17:56 -08:00
Ben Staddon
43efa3cfc4
Small cleanup for PlayerInteractEvent ( #3563 )
2017-01-11 15:17:08 -08:00
Ben Staddon
60211e6cd6
Fix and clean up ItemBow.onPlayerStoppedUsing() patch ( #3555 )
2017-01-11 15:16:37 -08:00
Vincent Lee
d2872ec7a2
Fix horse cap patch being reapplied in the wrong place ( #3609 )
2017-01-05 22:28:08 -08:00
LexManos
966c6263c3
Inital 1.11 update.
2016-12-26 21:34:18 -08:00
James Mitchell
5165dc52bf
Update MCP mappings to snapshot_nodoc_20161220 ( #3551 )
2016-12-21 15:52:30 -08:00
James Mitchell
9010f1d7e7
Add hook to allow any block to respond to filtered block updates like the Observer block ( #3547 )
2016-12-21 11:14:36 -08:00
Ben Staddon
e32cc2a607
[1.11] Fixes for Chunk.getBlockLightOpacity implementation ( #3537 )
2016-12-21 11:12:48 -08:00
Justin
95e523f943
[1.11] Fix ItemHandlerHelper canStack and ItemStack areTagsEqual methods not checking capabilities ( #3500 )
2016-12-21 11:11:25 -08:00
James Mitchell
b9ebc44790
Make NBSP character display as a space. MC-2595 ( #3522 )
...
Add easy getter for the Locale: MinecraftForgeClient.getLocale()
2016-12-17 13:27:45 -08:00
James Mitchell
4908f58b00
Fix setting the world in TileEntity.addTileEntity ( #2863 ) ( #3517 )
2016-12-17 13:26:07 -08:00
Max Becker
7c72e5168f
[1.11] Made WalkNodeProcessor consider burning blocks ( #3515 )
2016-12-17 13:24:10 -08:00
Ben Staddon
4530967009
Patch EntityPlayerSP to use location-aware version of isNormalCube ( #3494 )
2016-12-17 13:23:04 -08:00
Hasun
a997222aca
reset repo to upstream and reapplied patches ( #3434 )
2016-12-17 13:10:17 -08:00
Rock Hymas
8dc4b5f9b5
[1.11] Added EnchantmentLevelSetEvent ( #3433 )
2016-12-17 13:06:51 -08:00
LexManos
aee9d8c9b4
Prevent a crash when scheduling block updates for non-existing blocks #3485
2016-12-05 15:12:13 -08:00
LexManos
daf21e4dcf
Fix issue reading chunks from the network when client and server do not agree on block count. Closes #34925
2016-12-05 13:53:38 -08:00
LexManos
b270839e91
Restore missed patch in World.updateComparatorOutputLevel. Closes #3495
2016-12-05 13:07:41 -08:00
LexManos
c6bc4ec5a9
Make SlotItemHandler override Slot.getSlotStackLimit. Closes #3497
...
Make Container.mergeItemStack respect target slot's max size when slot is non-empty. Closes #3498
Fix Shift clicking in Beacons with stacked items when fuel slot is empty.
2016-12-05 12:56:05 -08:00
LexManos
3ef3b46ebb
Add ItemBlockSpecial#getBlock ( #3343 )
...
(cherry picked from commit cf26f4acbe48ee8790edc03d0b5c16c1167278ab)
2016-12-05 12:15:56 -08:00
LexManos
621d67d36a
Add null check and informative error message when client receives an invalid update packet ( #3266 )
...
(cherry picked from commit 882e0e3bf22784d693e3816b0efeba5fbedb1a22)
2016-12-05 12:13:39 -08:00
BlayTheNinth
2009b3ec5e
[1.11] Add canApplyAtEnchantmentTable to Item ( #3463 )
...
Allowing increased control of which enchantments can be put on an item over Vanilla's hard-coded item type checks.
Render enchantment buttons disabled when the item is enchantable but the enchantability requirement is not met on lower levels.
2016-12-03 10:43:29 -08:00
mezz
e09e6c0f24
Add a way for modded GuiScreens to cancel mouse and keyboard events ( #3438 )
2016-12-03 10:32:09 -08:00
diesieben07
1f26b3c3f2
Add missing pooled BlockPos retain in World patch ( #3486 )
2016-12-03 10:22:48 -08:00
liach
2337b0a6ae
Moved TextureStitchEvent.Pre to allow custom sprites for blocks ( #3436 )
2016-12-01 20:49:23 -08:00
LogicTechCorp
0b9988bf45
Allow connectable blocks to choose what they can connect to ( #3437 )
2016-11-30 17:51:36 -08:00
CoderAtParadise
249c468a75
Changed Armor Material to use an ItemStack aware version ( #3469 )
2016-11-30 17:08:30 -08:00
Ben Staddon
ef1efaffec
Fix Redstone Torch memory leak ( #3474 )
2016-11-30 16:26:38 -08:00
TechnicianLP
dac8e49f50
Added EquipmentChangeEvent ( #3411 )
2016-11-30 15:15:14 -08:00
LexManos
8d20258f3c
First pass at exposing data fixers to modders.
...
Each mod gets its own version number, mods SHOULD NOT rely on other
mod's fixers, just care about yourself.
Walkers can use IDataFixerData to retrieve their version.
2016-11-28 16:05:41 -08:00
cpw
b048c1a4b5
Pass along if the respawn event was the result of the end being conquered or not (end respawning is really FUNKY code and uses death instead of 'change dimension')
2016-11-27 23:58:41 -05:00
kashike
12733656eb
Add method to check if an Entity can trample a Block. Fixes #2510 ( #2730 )
2016-11-27 02:40:23 -08:00
mezz
4b51536592
Provide access to GuiContainer location and dimensions ( #3440 )
2016-11-27 02:24:32 -08:00
cpw
45aa74454b
Fix problem with the server hanging around after forcing the client to exit, leaving behind stale processes.
2016-11-25 02:08:52 -05:00
mezz
969a75154f
Fix #3432 Hopper and Dropper item moving does not exactly match vanilla ( #3442 )
2016-11-23 12:45:07 -08:00
mezz
95ecd2a8f4
Fix #3424 ItemCraftedEvent returns air when shift-clicking ( #3441 )
2016-11-22 22:47:53 -08:00
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
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
LexManos
8180bed027
Merge pull request #2707 from mezz/keyBinding19-4
...
Add modifier support to vanilla keybindings.
2016-04-04 18:06:29 -07:00
Vincent Lee
e8ea52558b
Player Interact Event
2016-04-04 19:58:46 -05:00
mezz
8f49ea7c5f
Add modifier support to vanilla keybindings.
...
Add Orange conflict color for modifier/key conflicts
(like Ctrl and Ctrl-Z conflicting)
Related to #2692
2016-04-04 16:52:16 -07:00
LexManos
8fd0817c81
Merge pull request #2704 from AEnterprise/1.9
...
onBlockHarvested is no longer called twice
2016-04-04 15:49:49 -07:00
LexManos
9f1505dd53
Fixed EntityJoinWorldEvent not being fired for some entitites on Server Worlds. Closes #2685
2016-04-04 15:33:45 -07:00
LexManos
6342bfea3e
Fix issue caused by setting spawnRadius to 0. Closes #2624
2016-04-04 15:22:17 -07:00
AEnterprise
dbe9053d50
onBlockHarvested is no longer called twice
2016-04-04 11:37:40 +02:00
McJty
9c3def9cb0
Added DimensionManager.createProviderFor() to WorldClient constructor similar to what is done
...
in WorldServer to make sure the correct provider is created client-side too.
2016-04-04 06:26:46 +02:00
LexManos
1811d88266
Merge pull request #2616 from iTitus/updateNotificationIcon
...
Add update notification icon made by @gigaherz, closes #2582
2016-04-03 18:22:27 -07:00
mezz
bc2b5ad517
Fix inability to attack while holding modifier keys
2016-04-03 13:15:18 -07:00
mezz
21d39f6558
Re-Add key binding modifiers and contexts.
2016-04-03 01:46:29 -07:00
RainWarrior
9baabf9249
Revert "Add key binding modifiers and contexts.", until it's fixed.
...
This reverts commit 34c3af7e85
.
2016-04-03 11:01:09 +03:00
mezz
34c3af7e85
Add key binding modifiers and contexts.
...
Same as #2674 , but for Minecraft 1.9
2016-04-02 21:25:44 -07:00
cpw
404995122a
Capture a vanilla freeze - will be used when FML connects to vanilla servers, soon
2016-04-02 14:16:17 -04:00
RainWarrior
4c8da35655
Improved UV offset hackery - should fix most visible custom model seams.
2016-04-02 18:49:18 +03:00
cpw
e72c224294
Add registries for soundevents, enchantments and potiontypes
...
MinecraftForge-2576 [1.9] SoundEvents (and Enchantments and PotionTypes) need a FML registry
2016-04-02 00:00:38 -04:00
cpw
acf8220414
Reconcile Block.patch
2016-04-01 21:28:28 -04:00
cpw
6e04a6c572
Squashed commit of the following:
...
commit b3b290aec9d3010a134859da6001ea28a96c2fdc
Merge: c6ce6a0
d803f7d
Author: cpw <cpw@weeksfamily.ca>
Date: Fri Mar 25 13:28:04 2016 -0400
Merge branch 'RegistryRework' of https://github.com/LexManos/MinecraftForge into LexManos-RegistryRework
Implement proper registry slaves. Should help with rollback related issues.
Missing patch
commit d803f7db76f65db9d27302c9804a643bc853dc22
Author: LexManos <LexManos@gmail.com>
Date: Tue Mar 22 03:36:14 2016 -0700
Update VillagerRegistry and use it. Should in theory make custom villagers work now. Using string version instead of int id for networking.
commit eb5e5b4b42fdca26d2a104e4dc1e6a3ea3051a7b
Author: LexManos <LexManos@gmail.com>
Date: Tue Mar 22 02:14:16 2016 -0700
More cleanup.
commit edbc56b2ff314629d0e402709f3cf29fc79c4a3d
Author: LexManos <LexManos@gmail.com>
Date: Tue Mar 22 02:05:23 2016 -0700
More cleanups, removed deprecated UniqueIdentifier {ResourceLocation now}
commit e2df8d1be3c97601508f83dc97b0e8853fa1e271
Author: LexManos <LexManos@gmail.com>
Date: Tue Mar 22 01:29:19 2016 -0700
Stupid generics....
commit 46d57dc4677fa5ff3923e64eaccfb33d7e5aad8d
Author: LexManos <LexManos@gmail.com>
Date: Tue Mar 22 01:00:25 2016 -0700
Some registry tweaking to provde a non-complicated API modders can use.
2016-04-01 20:56:06 -04:00
tterrag1098
5862aaf3a0
Add state param to canRenderInLayer
2016-04-01 03:12:01 -04:00
Shadowfacts
b7327e6a35
Forward ItemBlock#addInformation to Block#addInformation
2016-03-31 21:12:17 -04:00
LexManos
42e4d1fa77
Merge pull request #2659 from kashike/feature/immutable-blockpos
...
Replace Forge's getImmutable method with the vanilla method
2016-03-30 16:20:43 -07:00
LexManos
7a8475df6e
Fix landing particles not showing up. Cloes #2661
2016-03-30 15:59:14 -07:00
LexManos
9b9e48b3db
Fix bows not animating properly when picking up ammo while using. Closes #2672
2016-03-30 15:21:00 -07:00
LexManos
c662810814
Fix shrubs not generating correctly. Closes #2663
2016-03-30 15:20:18 -07:00
LexManos
746c07fc6c
Fix EntityPlayer still running old armor logic. Closes #2670
2016-03-30 14:05:27 -07:00
mezz
0f06365e1f
Fix Block.getPickBlock returning an ItemStack with a null Item
2016-03-28 16:21:35 -07:00
kashike
45881d1c90
Replace Forge's BlockPos#getImmutable
method with the included BlockPos#toImmutable
(func_185334_h), while keeping the override in PooledMutableBlockPos to prevent mutable leaks.
...
Also prevent a mutable blockpos leak in World#setTileEntity
2016-03-27 09:43:56 -07:00
RainWarrior
6385d7cc9f
Fixed diffuse lighting not being applied if forge lighting pipeline is disabled, closes #2651
2016-03-26 09:29:28 +03:00
mezz
da2964fbd3
Make tooltips layout in the right direction, wrap if there is no room
...
Same as #2649 , but for Minecraft 1.9
2016-03-24 20:39:08 -07:00
mezz
eca3b900e0
Make tooltips layout in the right direction, wrap if there is no room
...
Fixes #2255
2016-03-24 19:12:46 -07:00
RainWarrior
756c58d5cb
Removed RenderWorldEvent, encapsulated all public event fields.
2016-03-24 22:22:21 +03:00
RainWarrior
1d25d9ff49
Fixed isSideSolid causing infinite loops due to the call to getActualState.
2016-03-24 22:22:21 +03:00
RainWarrior
a9d23f5e78
Cleanup: removed IEEP, removed redundant casts, fixed imports, fixed typos.
2016-03-24 22:22:20 +03:00
LexManos
7e4d7077a5
New Builder class in BlockStateContainer. Makes building containers with both listed and unlisted properties cleaner.
...
Make all methods of BiomeGenBase$BiomeProperties public so that modders can use that class outside subclasses.
2016-03-23 19:10:10 -07:00
Take Weiland
8a6dafc3bb
Fix BlockCrops.getDrops not respecting new age methods (for beetroots)
2016-03-23 19:51:15 +01:00
iTitus
ecd6f4c1d2
Add flashing update notification icon made by @gigaherz, closes #2582
...
It is added to the "Mods" button in the main menu and to out-of-date mods in the mod list (there it replaces the "U").
Also fixes a little typo.
2016-03-23 14:48:29 +01:00
LexManos
9edd056f55
Fix typo causing biomes to be generated in wrong chunks. Closes #2632
2016-03-22 18:59:37 -07:00
RainWarrior
08663587d4
Added Capability.cast, to allow avoiding unchecked casts in ICapabilityProvider.getCapability
2016-03-22 09:01:00 +03:00
LexManos
a4d5760539
Fix swap animations for sure this time.
2016-03-21 20:43:22 -07:00
LexManos
2a1c98048e
Merge pull request #2587 from diesieben07/spawn_egg_fix
...
Fix mod spawn eggs and EntityList.func_188429_b
2016-03-21 19:42:59 -07:00
Thutmose
e349855688
Fix pushing players inside blocks.
...
same changes made to the 1.9 branch
2016-03-21 22:33:35 -04:00
LexManos
5cb4fe33bc
Merge pull request #2614 from williewillus/entitycaps
...
Expose IItemHandler on vanilla entities
2016-03-21 19:27:25 -07:00
LexManos
a365582b58
Added support for custom dyes with Banners. Closes #2596
2016-03-21 19:24:12 -07:00
LexManos
f14f77d445
Fix pushing players inside blocks.
2016-03-21 18:42:37 -07:00
Vincent Lee
dabb17f869
Update according to suggestions
2016-03-21 20:31:33 -05:00
LexManos
2ca7cff075
Fix Chests not opening correctly with semi-solid blocks on top.
2016-03-21 17:56:59 -07:00
LexManos
1830d6de89
Merge pull request #2618 from Thutmose/patch-1
...
Allow players sized smaller than 1 block to walk into small spaces
2016-03-21 17:15:26 -07:00
LexManos
b317d5d107
Merge pull request #2605 from Thutmose/playersize
...
Fixed players smaller than 1 block not being able to walk under overhang
2016-03-21 17:15:11 -07:00
LexManos
6fd9a2c00e
Rework DimensionManager for new DimensionType enum, replaces the old provider registry. Also fixed save folder issues with dimensions. Closes #2570
2016-03-21 17:12:34 -07:00
Thutmose
ba294d48dc
Allow players sized smaller than 1 block to walk into small spaces
...
Same as #2605 but for 1.9 branch
2016-03-21 18:31:25 -04:00
Thutmose
cd81cd0934
Allow players sized smaller than 1 block to walk into small spaces
2016-03-21 17:41:41 -04:00
RainWarrior
9eb04ce1ef
Made VertexBuffer.sortVertexData cleanup pointers after it's done. Closes #2528 .
2016-03-21 18:54:25 +03:00
RainWarrior
c589a3a299
Implemented slightly more generic version of UVLock, re-enabled it for json models. Closes #2607 .
2016-03-21 18:06:35 +03:00
Vincent Lee
30db41be9a
Expose IItemHandler on vanilla entities
2016-03-21 09:24:36 -05:00
CovertJaguar
f61605c7af
Add missing Minecart/Track hook.
2016-03-21 03:18:25 -07:00
RainWarrior
286c8c05b7
Separated model classes to client and common packages.
2016-03-21 10:48:52 +03:00
RainWarrior
5f62404f8a
Switched animation system to capabilities, added animated item example, fixed state passing in MultiModel.
2016-03-21 10:48:52 +03:00
LexManos
558348125d
Merge pull request #2610 from gigaherz/1.9-enchantment
...
Fix for enchantment table rolling invalid enchants
2016-03-20 21:53:07 -07:00
LexManos
4c5bc9c613
Merge pull request #2590 from blay09/patch-1
...
[1.9] Fix KeyInputEvent only being fired if Keyboard.getEventKeyState() is false
2016-03-20 21:50:20 -07:00
gigaherz
449bf3a292
Fix a condition that caused the enchantment table to roll invalid enchantments.
2016-03-21 04:18:16 +01:00
CovertJaguar
17589e61bd
Fix #2601 Minecart infinite acceleration
2016-03-20 16:33:49 -07:00
Take Weiland
313d7bbc11
Fix EntityList.func_188429_b not supporting mod-entities, fixes spawn eggs, fixes #2581
2016-03-20 15:10:22 +01:00
Corosauce
c01e98e25f
Fix for patch targetting the wrong field to change for failed pathfinding penalty
2016-03-20 02:05:38 -04:00
LexManos
5ad2fc90cb
Merge pull request #2589 from diesieben07/player_riding_fix
...
Fix broken patch in EntityPlayer.updateRidden
2016-03-19 21:23:25 -07:00
LexManos
9e475300f9
Merge pull request #2586 from williewillus/fixcrops
...
[1.9] Fix BlockCrops looking for wrong AGE property for subclasses. Fix #2555
2016-03-19 21:13:18 -07:00
LexManos
d4cb82b019
Merge pull request #2585 from iTitus/patch-1
...
Fix the EntityPlayer patch
2016-03-19 21:12:23 -07:00
Blay09
8c38f6c1d3
Fix KeyInputEvent only being fired if Keyboard.getEventKeyState() is false.
...
It used to be called for both key-up and key-down states prior to 1.9, so I assume Vanilla's changes to F3 behavior broke the patch.
2016-03-20 00:12:08 +01:00
Take Weiland
590f3f610e
Fix broken patch in EntityPlayer.updateRidden
2016-03-20 00:11:03 +01:00
Vincent Lee
b1a5339b29
Fix #2555
2016-03-19 17:15:26 -05:00
iTitus
d5d0374015
Fix the EntityPlayer patch
...
In 1.8.9 the call goes to getDisplayNameString() so that any changes from the PlayerEvent.NameFormat event are being take into account.
In this patch the call goes to func_70005_c_() which is the getter for the GameProfile name.
I changed it back.
Sorry if you do not want to accept it because it is a one-liner.
2016-03-19 22:37:59 +01:00
Corosauce
8ea90eb39e
Fix for patch targetting the wrong field to change for failed pathfinding penalty
2016-03-19 16:55:19 -04:00
RainWarrior
7795570421
Fixed outline shader rendering, closes #2560 .
2016-03-19 08:24:59 +03:00
RainWarrior
f37a80b302
Fixed Block.doesSideBlockRendering, closes #2564 .
2016-03-19 07:20:25 +03:00
RainWarrior
3f3989f6ac
Fixed invalid index calculation in BakedQuadRetextured.
2016-03-18 16:55:21 +03:00
RainWarrior
a81dfbc4ef
Fixed quads that don't need diffuse lighting getting it anyway.
2016-03-17 14:11:24 +03:00
Fry
2c55969ff3
Merge pull request #2559 from Adubbz/master
...
BlockColors and ItemColors no longer assume non-Vanilla id constancy. Added a getter for ItemColors.
2016-03-17 08:40:58 +04:00
RainWarrior
b8bb8c374c
Fixed MultiLayerModel not getting correct submodels; Unified the gui lighting of normal and custom models - diffuse lighting is now done in the pipeline, no need for IColoredBakedQuad anymore.
2016-03-17 07:29:44 +03:00
Adubbz
02e228095e
BlockColors and ItemColors no longer assume non-Vanilla id constancy. Added a getter for ItemColors.
2016-03-17 14:27:55 +11:00
LexManos
0b0b5097e5
Fixed NPE when sneak using a item.
2016-03-16 18:25:53 -07:00
LexManos
1d2d9ebc83
Fixed Sand not falling.
2016-03-16 18:25:26 -07:00
LexManos
c442cd2909
Fixed onUseStop being called twice {Bows firing twice}
2016-03-16 18:25:14 -07:00
LexManos
1591373bf6
Fix vanilla bug where bows consumed tipped arrows in creative.
2016-03-16 18:24:48 -07:00
LexManos
f22ed86ad9
Remove our entity position fixer. Vanilla fixed the bug in 1.9.
2016-03-16 18:24:11 -07:00
RainWarrior
8b4bce37de
Fixed progress reporting for model loading.
2016-03-16 05:00:44 +03:00
RainWarrior
87f4351783
Removed imports in patches.
2016-03-16 04:23:40 +03:00
RainWarrior
4189f63905
Fixed EffectRenderer patch, closes #2547 .
2016-03-16 04:23:40 +03:00
RainWarrior
12c051d52b
Fixed incorrect culling of mod TESRs.
2016-03-16 04:23:40 +03:00
RainWarrior
b81a13d010
Fixed model error reporting, fixed model errors in test mods that shouldn't happen, fixed custom texture loading, made more things private/final.
2016-03-16 01:42:23 +03:00
LexManos
ae72fa7ceb
Fixed breaking of tall grass. It now uses fortune. Expanded grass seed hooks to allow Fortune. Potentially removing in future in favor of LootTables.
2016-03-15 01:17:38 -07:00
LexManos
7b0d8f09e9
Fix digging blocks in survival.
2016-03-14 23:44:10 -07:00
LexManos
28ae283b96
PlayerManager updated.
2016-03-14 22:58:01 -07:00
LexManos
c27b13c705
Update patches for fixed inner class suffeling in srg files.
2016-03-13 18:32:53 -07:00
RainWarrior
5d352bda6c
Big model loader refactoring: simplified a lot of things, broke some error reporting. Still generally works.
2016-03-13 16:16:25 +03:00
RainWarrior
a799bbad2d
First version of updated of ModelLoader, mostly works.
2016-03-13 12:10:50 +03:00
RainWarrior
bda688b9b5
Fixed some errors in forge.exc
2016-03-13 09:59:30 +03:00
RainWarrior
4650ee2789
Updated to latest mappings. Exc is broken, some anonymous classes didn't map to srg names.
2016-03-13 04:40:03 +03:00
cpw
52e877bdd0
Switch to srg patches
2016-03-11 19:59:24 -05:00
LexManos
250a77b359
Merge pull request #2476 from Abastro/fovfixes
...
Added Event: EntityViewRenderEvent#FOVModifier
2016-02-29 13:20:46 -08:00
Matthew Miller (Me4502)
f1ad05dd8e
Added local click position to PlayerInteractEvent.
2016-02-27 11:27:21 +10:00
Abastro
c4ca8270b9
Added EntityViewRenderEvent#FOVModifier
...
Enables mods to modify raw FOV directly.
Avoids modifier limit from FOVUpdateEvent.
Aware of blocks which are needed for fov change related with materials.
2016-02-27 09:25:19 +09:00
LexManos
0dd796fb16
Merge pull request #2497 from bonii-xx/universal_bucket
...
Fix WordServer.canCreatureTypeSpawnHere not using Forge Events.
2016-02-23 01:04:09 -08:00
Bernhard Bonigl
17e960c158
Fix WordServer.canCreatureTypeSpawnHere not using Forge Events.
...
Followup of #2496
2016-02-23 09:53:26 +01:00
elix-x
0ddd897446
Increased actual maximum fuel burn time
...
Increased actual maximum fuel burn time from 32767 to 2147483647.
Backwards compatible.
2016-02-22 18:16:45 +01:00
AlgorithmX2
9eb22c3154
Test getLightOpacity(world,pos) in World as well as the chunk.
2016-02-18 20:43:24 -06:00
LexManos
ad69f0f447
Merge pull request #2443 from AlgorithmX2/cap_pickup_entityitem
...
Preserve ItemStack Caps when picking Items up.
2016-02-18 14:10:32 -08:00
AlgorithmX2
e6b3c7ba64
Preserve ItemStack Caps when picking Items up.
2016-02-18 16:08:23 -06:00
AlgorithmX2
3c4a2b0f42
In material Liquid Hooks.
2016-02-18 14:41:15 -06:00
Take Weiland
50f77a71ae
Fix Potion.shouldRenderInvText
2016-02-18 00:37:57 +01:00
AlgorithmX2
5c229dd6c7
Fix bug with getLightOpacity based on TileEntities,
...
Capture getLightOpacity prior to removing the tile entity.
2016-02-17 14:14:18 -06:00
LexManos
74fe690227
Fix chat formatting not surviving line wraps in chat messages.
2016-02-15 14:30:24 -08:00
Take Weiland
b875274c4f
Fix the entity shader hook
2016-02-14 15:25:11 +01:00
iLexiconn
776f5b91d5
Added hook to add entity spectator shader
2016-02-13 00:09:04 +01:00
LexManos
06130912c5
Protect BlockSnapshot and Chunk.getTileEntity from mutible BlockPos instances. Closes #2438
2016-02-11 16:48:32 -08:00
LexManos
70fe18c163
Fixed Block.onNeighborChange not being called for all axises. Closes #2428
2016-02-11 16:29:07 -08:00
LexManos
fa6610b3c8
Fixed invalid item being passed to gatherCapabilities when itemstacks changed item. Closes #2445
2016-02-11 16:27:38 -08:00
LexManos
bd6af1e49a
Fixed implementation of RenderEntityItem.shouldSpreadItems. Closes #2448
2016-02-11 16:26:48 -08:00
LexManos
53301e1aeb
Fixed vanilla bug where network clients would see incorrect break progress on blocks. Closes #2462
2016-02-11 16:26:12 -08:00
LexManos
a607a48719
Fixed Block/Item.setRegistryName printing a incorrect warning when used. Closes #2398
2016-02-11 16:25:25 -08:00
LexManos
a9ea634141
Fixed Entity.shouldRiderSit modifying game logic and not just rendering. Closes #2402
2016-02-11 16:24:38 -08:00
LexManos
124799d633
Fixed invalid parameters being sent to LivingSpawnEvent.CheckSpawn. Closes #2453
2016-02-11 16:23:49 -08:00
LexManos
9070ab56e3
Potential fix for NPE when using an item to open a slotless inventory. Closes #1354
2016-02-10 11:25:41 -08:00
RainWarrior
a9a022f45e
Fix incorrectly updated patch to ChunkCache. Related to #2451 .
2016-02-10 10:11:53 +03:00
LexManos
2c6af18a81
Remove Mojang logger spam in EntityItem.
2016-02-07 15:45:06 -08:00
pau101
cb70f1378c
Fix #2321
2016-02-04 22:58:21 -08:00
Matthew Prenger
76f659c02e
Log unknown exceptions in commands. Resolves #2433
2016-02-01 18:25:40 -06:00
RainWarrior
741fdd0a85
Fixed incorrect patch to GenLayer, causing large vanilla biomes to not work properly.
2016-01-28 08:00:27 +03:00
RainWarrior
7b7d18f676
Provide original armor model in the custom armor model hook.
2016-01-28 07:43:55 +03:00
LexManos
b71b963301
Loosen TileEntity's default hasCapability implementation. Modders should specifically opt in.
2016-01-25 11:27:08 -08:00
VikeStep
026d179c0d
Add EntityTravelToDimensionEvent
...
Resolve Merge Conflict
Move event call inside conditional
2016-01-25 17:57:52 +10:00
Fry
e9be24700e
Merge pull request #2331 from RainWarrior/model-animation
...
Model animation system
2016-01-24 10:01:58 +03:00
RainWarrior
0710bdf3f5
Model animation system.
...
Main things of interest:
* IAnimationStateMachine - state machine for animations; can load
from json.
* AnimationTESR - automatic TESR for animated models.
* AnimationModelBase - same for entities.
* ITimeValue - time-varying value, used to control animation
parameters from code.
* TESRs can now be batched - look at TESR.renderTileEntityFast +
TE.hasFastRenderer.
* RegionRenderCache is not accessible to TESRs and other client-side
logic - MinecraftForgeClient.getRegionRenderCache.
2016-01-24 09:59:38 +03:00
LexManos
5257739d06
Merge pull request #2401 from ShetiPhian/Fix-isBeaconBase-BlockPos
...
Fixed: the BlockPos passed to isBeaconBase
2016-01-23 22:07:31 -08:00
LexManos
e9a86f27fb
Merge pull request #2385 from rwtema/master
...
Add IItemHandler capability
2016-01-23 22:06:29 -08:00
rwtema
a1e41f5464
Add IItemHandler capability
...
Add the actual patches that I forgot.
Add simple implementations of IStorage and the factory methods.
Add ItemStackHandler. A simple IItemHandler implementaton.
return nulls, not throw nulls.
Move the vanilla wrappers to a separate class for now.
Minor clean ups of VanillaWrapper code.
Inline static methods.
Add comments.
Minor cleanup of code.
Remove redundant size field and add a validate slot index method.
Minor formatting issues.
Break early If stacksize to insert is 0.
Remove setByte() methods.
Throw exception if IItemHandler can't be modifyed in NBT loading.
Replace event handler with patches
Add capability to mine cart inventory entities.
Change formatting and registration of capability.
Make InventoryPlayer implements IItemHandler because why not. Also added a field to allow mods that add additional player inventory space to publicly expose them.
Reduce patch sizes
Lazy initialization of the item handler for vanilla tiles.
Minor formatting changes.
Create a single vanilla chest item handler that will merge with adjacent chests when detected. Added hooks to reset the cached adjacent value when a block update is detected and when a chunk loads.
Revert "Make InventoryPlayer implements IItemHandler because why not. Also added a field to allow mods that add additional player inventory space to publicly expose them."
This reverts commit 306d4a37fd0e8c8a0754411c013b750dfe8e2c87.
Fix furnace derp
Replace double chest code with a simpler method.
Vanilla wrappers implement IItemHandlerModifiable (since they are modifiable)
Minor code cleanups
Add an onContentsChanged() and onLoad() callback methods.to the default implementation.
Add slot as a parameter in the callback method.
Change IItemHandlerModifiable.setStackInSlot() to void, and added a note about not being intended for cross-mod use.
Improve ItemStackHandler handling of errored NBT.
Make the stacks array protected.
Fix a lot of derps in SlotItemHandler.
Fix derp in ItemStackHandler
Clarify comments on IItemHandler
ItemStackHandler no longer caches the stack array in local variable.
Clean up the Chests code to make intentions clearer
Vanilla hoppers have their cooldown activated when an item is inserted. Made this behavior part of an item handler (rather than the insertion code)
Fix mistake in ItemStackHandler
More documentation of potential edge cases in getStackInSlot()
Make limit checking more resiliant.
2016-01-24 05:20:58 +00:00
Timothy Tomkins
3b9741613c
Fixed: BlockPos passed to isBeaconBase
2016-01-22 09:25:55 -05:00
LexManos
d480ae5380
Merge pull request #2378 from blay09/bugfix/slotdrop
...
Fix items being dropped through slots outside GUI boundaries
2016-01-21 13:49:32 -08:00
LexManos
bce7c6d61f
Merge pull request #2399 from asiekierka/fix-2388
...
Fixed ItemStack.splitStack not preserving capabilities, Closes #2388
2016-01-21 13:42:13 -08:00
LexManos
be6577b9ce
Fix invalid ServerHangWatchdog patch causing it to not apply.
2016-01-21 13:40:00 -08:00
asiekierka
568061864f
Fix #2388
2016-01-21 22:09:23 +01:00
LexManos
812e69cee3
Call deserialze on capabilities in ItemStack.setItem. Closes #2384
2016-01-17 14:19:59 -08:00
cpw
b8238e7f22
Merge pull request #2367 from kashike/feature/quiet-watchdog
...
Skip hang detection on first run of the server hang watchdog
2016-01-16 19:16:23 -05:00
Bartek Bok
fae5ff67ed
Allow sleeping without bed
2016-01-17 00:43:29 +01:00
RainWarrior
accf6cf218
Fixed missing model error reporting, made block and item variants sort before loading, to make the splash screen info more useful.
2016-01-17 01:57:06 +03:00
cpw
90d1abebd4
Fix spruce not growing properly
2016-01-16 17:04:16 -05:00
cpw
66895a520a
Fix shouldRefresh not to be so over-eager about modded TEs. Should fix Packet21 causing a TE reset.
2016-01-16 16:11:34 -05:00
Blay09
30ac80f978
Fix items being dropped out of a GuiContainer when dealing with a slot outside of the xSize/ySize boundaries.
2016-01-16 06:34:07 +01:00
mezz
aee1bd6014
Add GuiScreenEvent.BackgroundDrawnEvent
2016-01-13 13:01:16 -08:00
kashike
2ba595b207
Skip hang detection on first run of the server hang watchdog
2016-01-12 04:15:11 -08:00
LexManos
17db34ae31
New Capability system allowing for more manageable world object features.
...
When combined with @Optional this should address all issues of soft dependancy on mods/apis.
This also addresses the issue of dynamic functionality in TileEntities/Entities.
Current capability providers: TileEntity, Entity, ItemStack
Also added INBTSerializeable, a generic interface for game objects that can be written to/from NBT tags.
Vanilla capabilities will be coming soon, mostly on request and review.
So start requesting capabiliteis on vanilla/Forge features.
2016-01-11 16:04:22 -08:00
LexManos
4672f7bab0
Fixed banners not droping the correct item when harvested using modded mechanics. Closes #2258
2016-01-10 21:34:52 -08:00
LexManos
aff6b0004c
Fix jline server console not showing colored text. Closes #2334
2016-01-10 20:39:22 -08:00
RainWarrior
4dbf1965df
Catch GROUND item transform type with the forge hook too.
2016-01-10 13:07:07 +03:00
LexManos
0921473f53
Merge pull request #2355 from williewillus/fixentityitemdupe
...
Fix bug with /give command and items with larger than default lifespans
2016-01-08 19:13:52 -08:00
Vincent Lee
591cd5c1b0
Fix visual effect entity persisting longer than it should
...
Fix derp
2016-01-08 18:51:08 -06:00
LexManos
c78a7ce41e
Fixed issue with WorldServer.getTileEntities when being called with ranges that overlap chunks oddly. Closes #2350
2016-01-08 14:42:29 -08:00
RainWarrior
d8440de49b
Changed default implementation of Block.getExtendedState. Closes #2309 .
2016-01-04 15:31:03 +03:00
LexManos
1a31ff9f06
Added new get/setRegistryName functions to Item and Block.
...
And helper functions in GameRegistry to allow for registering using those names automatically.
This is to simplify registration and get rid of the horrible hacks users are doing now with 'unlocalised names'.
2016-01-02 12:58:57 -08:00
Matthew Messinger
577f607b5f
Add links for messages and other commands
2016-01-01 21:20:27 -05:00
RainWarrior
cf2bbd1353
Fixed RenderingRegistry not working. Closes #2312 .
2016-01-01 02:01:03 +03:00
LexManos
755df95c96
Swap Mod and Realms button to fix new realms 'notification' icon.
2015-12-31 14:41:08 -08:00
RainWarrior
db3e039b31
TESRs registering in preinit don't break pistons anymore. Fixes #2298 .
2015-12-30 11:37:32 +03:00
RainWarrior
09e9a181ee
Fixed color disabling not working for forge pipeline. Closes #2286 .
2015-12-30 11:22:22 +03:00
RainWarrior
56eba05237
1.8.9 update
2015-12-30 07:15:03 +03:00
Bernhard Bonigl
7f52bc6547
Add a hook for custom particle spawning for slimes
2015-12-28 21:01:30 +01:00
Take Weiland
af1e769895
Allow forge-type spawn-eggs to spawn child entities when clicking EntityAgeable
2015-12-28 15:58:37 +01:00
LexManos
d2248c3774
Fix Button/Torch/Lever placement on stairs and slabs. Closes #2291
2015-12-27 14:39:29 -08:00
RainWarrior
097c0c6130
Added an ability to register custom item variants, not ending with "#inventory". Should allow grouping multiple item models into 1 blockstate json.
2015-12-24 06:06:38 +03:00
LexManos
6a8a9b3097
Fixed vanilla bug related to spawning entities on top of fences. Closes #2303
2015-12-22 11:52:36 -08:00
Lunatrius
b665026378
Fix client side commands adding parts of the color codes on autocomplete (prefix "7" and suffix "r").
2015-12-19 12:55:26 +01:00
RainWarrior
d6ee373e87
Preparations for the Animation system.
...
Changes to the Model API - IModelState now works with Optional. Handling of parts of the model is not optional, and coordinate space/result interpretation is up to the caller. IModel doesn't extend IModelPart by default anymore; MapModelState uses composition to achieve previous functionality, IModelPart implementations are disjoint now. Updated perspective handing to the new API, removed IPerspectiveState (MapModelState is now the same thing). Perspective transforms for the default fluid model.
2015-12-14 23:27:27 +03:00
LexManos
9032f7e37e
Fix enchanting applying the same enchantment multiple times. Closes #2273
2015-12-14 03:49:58 -08:00
cpw
82537e5763
Merge pull request #2272 from AlgorithmX2/addLandingEffects
...
Added addLandingEffects allowing mods to override landing particles
2015-12-13 17:09:13 -05:00
AlgorithmX2
a319adba53
Added addLandingEffects allowing mods to override landing particles, for blocks that require world information to determine textures.
2015-12-13 15:35:15 -06:00
AlgorithmX2
8db720151d
Add getHighlightTip allowing a item to override its displayed renderToolHightlight.
2015-12-13 04:47:25 -06:00
LexManos
2ed4f39a13
Merge pull request #2268 from minzmann/master
...
[1.8.8] Minor Fixes to PotionEffect.java.patch
2015-12-12 19:48:23 -08:00
minzmann
bf6c31c879
Update PotionEffect.java.patch
2015-12-12 17:05:14 +01:00
LexManos
c6d64cd94a
Merge pull request #2239 from bonii-xx/potionhiding
...
Add shouldRender() to Potions that allows to hide them completely in …
2015-12-12 00:18:18 -08:00
cpw
3631955641
Use ItemStack.hasEffect. closes #2230
2015-12-11 15:30:43 -05:00
Fry
5fd04595f2
Merge pull request #2248 from AlgorithmX2/isOpaqueFace
...
Added doesSideBlockRendering to provide finer grain face culling.
2015-12-11 22:57:40 +03:00