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