LexManos
a2749e4507
Fix loading recipe jsons from jar files.
2017-06-19 17:18:53 -07:00
Vincent Lee
f7831fbe99
Fix shapeless recipes not being able to use NBT on output, and fixed issue with null groups.
2017-06-19 16:49:21 -07:00
Lumien
303578b2f2
[1.12] Fixes Exception when getting modlist for a vanilla client ( #4028 )
2017-06-19 16:47:34 -07:00
mezz
e3777f4559
Add missing Override annotations
2017-06-17 18:24:17 -07:00
mezz
c2845967cc
Update MCP mappings to 20170617
2017-06-17 18:06:04 -07:00
mezz
3d322ef925
Update mcp mappings to 20170611
2017-06-17 17:13:44 -07:00
mezz
864b05074e
Clean up ShapedOreRecipe and ShapelessOreRecipe
2017-06-17 17:13:44 -07:00
Shadowfacts
f009435fa4
Allow condition factories to be registered from JSON ( #4015 )
2017-06-16 20:24:58 -07:00
LexManos
b5260a386d
Filter any recipe starting with _, Such names are reserved for metadata.
...
Actually implement conditions for recipes.
2017-06-15 19:30:05 -07:00
LexManos
65ec1f5d54
Fix NBT ItemStack support in json loader. Closes #4002
2017-06-15 16:07:55 -07:00
LexManos
e16f70f95e
Fix OreIngredient comparing items in reverse. Closes #3999
2017-06-15 13:13:44 -07:00
Marvin Rösch
50e268bdf5
Make registries persist by default, fixes #3989 ( #3998 )
2017-06-15 13:00:46 -07:00
tterrag
8833386ada
Fix exception in ShapedOreRecipe.checkMatch for recipes that don't fill entire crafting grid ( #3995 )
2017-06-15 01:12:54 -07:00
LexManos
dbc0a4e0fd
Fix parseShaped missing Empty slot item. Closes #3990
2017-06-14 20:25:22 -07:00
LexManos
5e70ee45be
Fix CraftingHelper.parseShapred error. Closes #3979
2017-06-14 15:59:59 -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
cpw
3fee319bc0
Try a different way of doing the callback, it removes the derpitude, but at
...
one point, I thought the way it was was necessary. Is this a race condition?
Dunno, but it's a lot simpler and doesn't rely on a netty hack.
2017-06-10 22:22:16 -04:00
cpw
d90637f8b5
Fix the netty bug introduced by netty commit 29fdb160f3
...
that means we don't get activated until after handlerAdded is complete.
In effect, our handler can't handle anything until handlerAdded has
completed.
2017-06-10 22:22:16 -04: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
e67bde9e9e
Fix crashed caused by bad mods reflectively breaking the grass drop list. Closes #3943
2017-06-02 16:22:16 -07:00
RlonRyan
8ddbf3b0a8
Changed Event.setCanceled To throw UnsupportedOperationException instead of IllegalArgumetnException when called on a non-cancelable object ( #3926 )
2017-06-01 14:34:24 -07:00
Flaxbeard
e1ddc4315c
Update EntityPlayer armor calculations and ISpecialArmor ( #3838 )
2017-05-26 14:11:52 -07:00
Ben Staddon
2814df89b3
Tweak vertex lighter to avoid causing excess array initialisations ( #3771 )
2017-05-26 13:57:21 -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
Luke Gilfoyle
5198b4d690
Fixes BlockLiquidWrapper placing a Static fluid where it should place a Flowing one ( #3893 )
2017-05-21 22:10:44 -07:00
mezz
1c0b53f3bf
Print system details on startup without printing a full crash report ( #3909 )
2017-05-21 12:30:57 -07:00
mezz
14d8151b02
Reduce memory pressure from new objects during loading screen ( #3907 )
2017-05-20 14:21:32 -07:00
diesieben07
acdfe97bd6
Add methods to write IForgeRegistryEntry to ByteBuf ( #3806 )
2017-05-18 13:47:13 -07:00
tterrag
d77033b0d0
Fix normals not being generated for formats without normals ( #3896 )
...
Fix normals not being generated for formats without normals
2017-05-15 12:39:54 +04:00
ichttt
2df36137c2
Add a configurable delay when unloading dimensions, fixes #3455 ( #3679 )
2017-05-06 12:19:01 -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
Vincent Lee
0b41a0a822
Fix forge pipeline block shifts ( #3789 )
2017-05-01 17:53:17 -07:00
mezz
56ed8fec1e
Improvements to FluidUtil ( #3839 )
2017-05-01 17:25:45 -07:00
diesieben07
b2e3f353df
Allow client commands to control whether they can be invoked without prefix. ( #3847 )
2017-05-01 17:22:53 -07:00
mezz
e4d04afd95
When the window is closed during loading, exit the game quickly ( #3858 )
2017-05-01 17:14:55 -07:00
mezz
91cc592a3a
Remove splash.properties option for Mojang logo (has been disabled) ( #3859 )
...
Fix backgound color being applied to the Forge logo
2017-05-01 17:13:43 -07:00
ichttt
cbf6cb9744
Fix GuiMultipleModsErrored ignoring scrolling with mouse wheel. ( #3861 )
2017-05-01 17:12:33 -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
Justin
460a2189d6
Prevent NPE in ConfigManager and fix config gui being enabled for all mods. Fixes #3856 . ( #3860 )
2017-04-27 19:02:50 -07:00
LexManos
af2ca8e250
Fix return value of ItemHandlerHelper.insertItem being incorrect when destination was null. Closes #3840
2017-04-25 12:06:23 -07:00
LexManos
c0eea379a4
Fix vanilla inventory wrappers not properly calling markDirty. Closes #3854 and #3810
...
Also updated IItemHandler javadocs to reflect returning EMPTY instead of NULL.
2017-04-25 11:55:31 -07:00
cpw
cec90d7f48
Add in a check to the splash screen. If the Display.update call takes
...
too long on average (over first 200 frames) we'll use a sleep based
timer to allow mods doing splash screen work some time on the
LWJGL global lock.
(cherry picked from commit 03d7eaa)
2017-04-10 08:33:01 -04:00
LexManos
69b72201ac
Cleanup AccessTransformer debug output
2017-04-09 23:13:45 -07:00
bogger33
3eb7b59cf4
Fix Fluid models rendering with gaps ( #3747 ) Closes #2993
2017-04-07 17:57:00 -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
diesieben07
646a8977d6
Ignore calls to sendMessage for fake players. Fixes #3796 . ( #3798 )
2017-04-07 16:52:52 -07:00
mezz
15aee5b18a
Skip loading models if there is a fatal mod dependency error ( #3772 ) Close #3768
2017-04-07 16:48:00 -07:00
Ben Staddon
901df8345c
Add AnimalTameEvent for handling animal taming ( #3763 )
2017-04-07 16:47:28 -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
Ben Staddon
f7f46be8ff
Revert block snapshots in reverse order. Fixes #3608 .
2017-04-07 16:24:59 -07:00
Paulo "JCranky" Siqueira
be2d814155
Add LootTableManager to the LootTableLoadEvent ( #3717 )
2017-04-07 16:22:49 -07:00
Lance
671d462645
Added ClientChatEvent. Closes #1442 ( #3704 )
2017-04-07 16:09:46 -07:00
BlayTheNinth
52409e15cf
Fix custom array entry class for config GUI being ignored when adding new entries ( #3697 )
2017-04-07 16:05:50 -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
ae96fd08db
Fix arrays in map values for config system
2017-04-06 13:15:26 -07:00
Justin
4d23ce1314
Fix java 6/7 compatibility in GuiConfig ( #3824 )
2017-04-04 17:19:13 -07:00
sinus
25497d310b
Adding config GUIs to the @Config based configuration System ( #3735 )
...
Lots of internal API that modders should not touch. See test mods for example usages.
2017-04-01 14:24:50 -07:00
LexManos
006b8cc8bd
Add setter for default key in RegistryBuilder. Closes #3804
2017-03-23 11:23:54 -07:00
mezz
4fbc847736
Detect and log cascading chunk generation issues during terrain population ( #3756 )
2017-03-14 21:19:47 -05:00
mezz
67247fba29
Fix #3733 Splash Screen memory bar background matches screen background ( #3775 )
2017-03-14 21:03:37 -05:00
Mattia Malonni
ef94421dc6
Add additional constructors to EnergyStorage to set values at load time.
2017-03-14 21:00:13 -05:00
Joseph C. Sible
f4ce57cd21
Fixed 'reset to defaults' button not working on some Forge config fields.
2017-02-23 18:23:50 -08:00
sjx233
2003dee17f
Add DifficultyChangeEvent ( #3525 )
2017-02-23 18:12:27 -08:00
LexManos
9d71b667b6
Fix @Config.Comment not working on subcategory Objects. Closes #3593
2017-02-23 17:25:09 -08:00
ichttt
bd4fe54753
Improve exception messages during initialization.
2017-02-23 17:15:11 -08:00
diesieben07
bf154730bd
Start firing AttachCapabilitiesEvent<ItemStack> ( #3645 )
2017-02-23 17:09:02 -08:00
LexManos
5cce054548
Add @Name annotation to config system allowing you to use custom key for value.
...
Also added category option to root config to allow customization. See examples/docs for information.
2017-02-23 17:06:06 -08:00
Vincent Lee
1df8d5f8e5
Fix forge:default-item missing case for FIXED transform ( #3663 )
2017-02-23 15:36:48 -08:00
Aaron Hill
219e1d418b
Add a null check for the throwable message in NetWorkDispatcher#exceptionCaught ( #3688 )
...
(cherry picked from commit 1be1bb59c5c4c7432c515ef07beb6bf7e1f6ef27)
2017-02-23 15:20:32 -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
7c9b67b574
Fix English injection for some mods on dedicated server.
2017-02-22 11:42:44 -08:00
RainWarrior
b2e3233dc1
Added check for quad builder to always have the particle texture set, and fixed where that wasn't true. Fixes #3653
2017-02-19 22:11:31 +03:00
Choonster TheMage
6a15ab6ead
Fix extracted mods crash report file name for Windows ( #3701 )
2017-02-16 23:01:11 -08:00
James Mitchell
8fbf4cf115
Remove dynamic lambda methods when inside of SideOnly methods
...
Clean signatures of ReflectionHelper methods.
2017-02-12 16:43:30 -08:00
Ivorius
3379ee7df2
Fix addTypes not adding in the base types. ( #3681 )
2017-02-05 09:47:07 -08:00
Ivorius
3e568b864e
Replace listSubtypes with listSupertypes to match the intended behavior. ( #3564 )
2017-02-04 09:29:42 -08:00
RainWarrior
7598d18a50
Fix default missing model zoom text not being set to false on all places.
2017-01-21 21:11:35 +03:00
RainWarrior
9888214524
Small bugfix in lighting logic.
2017-01-21 21:10:30 +03:00
Fry
bbc107de96
Added the variant name to the missing model. ( #3328 )
2017-01-19 13:57:37 +04: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
cpw
926472b359
Bypass forge chunk cache if it's configuratively disabled
...
(cherry picked from commit 9fe6385)
2017-01-14 17:46:00 -05:00
Vincent Lee
71efbf8132
Fix category comments not working. Closes #3593
2017-01-13 22:20:43 -06:00
Vincent Lee
a41288644d
Skip first baking in ModelLoader ( #3621 )
2017-01-11 18:33:13 -08:00
James Mitchell
bc381b92ea
Improve performance of inserting into inventory wrappers ( #3622 )
2017-01-11 16:29:49 -08:00
Modmuss50
04885b3150
Add Iron Nugget to OreDictionary ( #3571 )
2017-01-11 16:19:08 -08:00
Ben Staddon
d72888b6ab
Fix DungeonHooks method to use correct type ( #3587 )
2017-01-11 16:13:32 -08:00
ichttt
3d12ef56b5
Fix #3576 Unnecessary warning about totem being renamed ( #3614 )
2017-01-11 16:12:08 -08:00
James Mitchell
941c3eff02
Fix #3596 Close jar sources safely in Java 6 ( #3597 )
2017-01-11 15:18:33 -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
Vincent Lee
b020ea06ae
Fix IItemHandler's IStorage using nulls ( #3580 )
2017-01-11 15:16:07 -08:00
Phylogeny
4b627a3672
Fix null check in BrewingRecipeRegistry ( #3584 )
2017-01-11 15:15:57 -08:00
Ben Staddon
c4dea9fc66
Fix a couple more ItemStack null checks ( #3586 )
2017-01-11 15:15:47 -08:00
RainWarrior
da3af92343
Fix super call to ItemOverrideList constructor inside AnimationItemOverrideList, fixes #3264 .
2017-01-07 04:27:36 +03:00
RainWarrior
cea922432a
Added caching for baked vanilla models, fixes #3594 .
2017-01-07 02:58:36 +03:00
LexManos
966c6263c3
Inital 1.11 update.
2016-12-26 21:34:18 -08:00
James Mitchell
a561f4c41c
Fix #3561 import io.IOUtils instead of compress.utils.IOUtils ( #3562 )
2016-12-23 15:23:31 -08:00
James Mitchell
5165dc52bf
Update MCP mappings to snapshot_nodoc_20161220 ( #3551 )
2016-12-21 15:52:30 -08:00
James Mitchell
1f4007e5d8
Properly deobfuscate lambda expressions ( #3552 )
2016-12-21 11:15:13 -08:00
James Mitchell
08a4f5f314
Add nullable annotations to IGuiHandler ( #3550 )
2016-12-21 11:14:52 -08:00
James Mitchell
e9143859c0
Fix some resources that are never closed, close in a finally block ( #3544 )
2016-12-21 11:13:27 -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
CoderAtParadise
bdcfefeb42
Added Oak door to Ore Dictionary Exclusion list to fix able to craft it with any wood type ( #3519 )
2016-12-17 13:26:30 -08:00
James Mitchell
6a125ae0d4
Fix uses of uppercase "Forge" where it fails Loader.isModLoaded(modID) ( #3513 )
2016-12-17 13:23:39 -08:00
James Mitchell
20e026e601
[1.11] Add memory display to loading screen ( #3447 )
2016-12-17 13:16:24 -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
Minecrell
22db1965c7
Register Minecraft mod container in FML loader ( #3414 )
2016-12-17 12:56:10 -08:00
LexManos
b203468cde
Small memory optimization in Registries.
2016-12-16 13:01:39 -08:00
LexManos
1e6ae7d1f7
Fix modid field name for ProjectInjector.
2016-12-16 13:01:23 -08:00
LexManos
7fe8c48983
Enable Enforcement of modid formatting. Must be lowercase and <= 64 characters
2016-12-09 14:36:15 -08:00
LexManos
babe0c2d53
Bump version for RB.
2016-12-05 20:54:35 -08:00
mezz
8eea766288
[1.11.x] Refine fluid placement utilities ( #3509 )
2016-12-05 20:17:47 -08:00
LexManos
160427b12c
Properly filter out annotations that are for multiple mods in the same mod source.
...
This prevents disabled mods from getting their proxies injected.
Also prevents mods from getting their proxies injected multiple times.
Effects the @EventBusSubscriber, @Instance, @Metadata, @SidedProxy annotations.
If the target modid is not in the annotation data, and there are multiple mods in the source, it will attempt to find it by matching the annotations's class names.
This is a potentially breaking change. Review your logs for "skipping" messages.
2016-12-05 17:19:15 -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
4b7219c07f
Fix for showing config default values twice in tooltip ( #2257 ) ( #3338 )
...
(cherry picked from commit be73ec3d5ebd972cfacb0f255f71112a0430bc43)
2016-12-05 12:07:44 -08:00
LexManos
f9c74cfc77
Added isItemValidForSlot check to hopper extraction ( #3444 )
...
(cherry picked from commit 0348760a774ca7ed9639376baadae38e272f5bf8)
2016-12-05 12:06:16 -08:00
LexManos
c1e832bff0
Fix NPE when rendering missing mod screen with version bound requirements. #3501
2016-12-05 12:03:23 -08:00
LexManos
61fc4a70a3
Make sure to log kick messages in NetworkDispatcher. Closes #3507
2016-12-05 12:01:53 -08:00
Ben Staddon
6921ee54f5
[1.11] Fix null checks in shouldCauseReequipAnimation ( #3482 )
2016-12-03 10:47:57 -08:00
mezz
a913a8a0f9
[1.11] Add biome dictionary types for newer biomes ( #3475 )
2016-12-03 10:46:36 -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
liach
2337b0a6ae
Moved TextureStitchEvent.Pre to allow custom sprites for blocks ( #3436 )
2016-12-01 20:49:23 -08:00
Ben Staddon
14f3120eed
Fix sky colour blending not working for render distances >16 ( #3476 )
2016-12-01 18:49:34 -08:00
diesieben07
96f88538d5
BiomeDictionary code cleanup ( #3466 )
2016-11-30 15:48:44 -08:00
TechnicianLP
dac8e49f50
Added EquipmentChangeEvent ( #3411 )
2016-11-30 15:15:14 -08:00
Marvin Rösch
5da0ac73b9
Update assets to new Forge brand ( #3464 )
2016-11-30 14:56:31 -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
Vincent Lee
c17b40790b
Add getSlotLimit(slot) to IItemHandler ( #3445 )
2016-11-28 16:03:47 -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
Ben Staddon
86a772ee8c
Clean up handling of changes to IVertexConsumer ( #3458 )
2016-11-27 02:01:26 -08:00
mezz
daee86d14d
Provide access to ShapedOreRecipe width and height ( #3439 )
2016-11-27 01:49:13 -08:00
Ben Staddon
059605e352
Quick fix for another ItemStack null check ( #3426 )
2016-11-27 01:49:06 -08:00
mezz
c22382d12e
Fix using the wrong Pair implementation ( #3449 )
2016-11-24 20:15:32 -08: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
2bd8b95a3b
Cleanup some null checks and remove deprecated methods in Item and Block ( #3429 )
2016-11-22 15:20:05 -08:00
LexManos
2823447b6e
Fix max CustomPayload size, 1MB not 16MB.
2016-11-22 12:13:30 -08:00
LexManos
e03d5915e5
Insert FML packet handler into Vanilla pipelines in case modders send FMLPacket to vanilla. Fixes #3422
2016-11-22 12:13:07 -08:00
LexManos
8f03658f1f
Fix AbstractMethodException in FML Registries. Closes #3427
2016-11-20 16:15:15 -08:00
LexManos
f12a4b5c1e
Fix Item transfers related to Hoppers.
2016-11-18 14:42:22 -08:00
Shadowfacts
9cf74914e7
Initial annotations/nullability changes ( #3392 )
2016-11-18 13:24:03 -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
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
Terrence Ezrol
f028ba88f5
Fix Villagers for 1.11 ( #3401 )
...
- Add cartographer registry entry
- Fix textures for the nitwit
2016-11-17 10:59:13 -08:00
mezz
150566d9a3
[1.11] Fix nullability issues around ForgeHooks and Capabilities ( #3395 )
2016-11-17 10:44:31 -08:00
Larsg310
bf090cb4c2
Change OreDictionary over from "null" to the new ItemStack system. ( #3400 )
2016-11-17 10:43:22 -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
mezz
6f1a44a405
Remove deprecated Fluid stuff
2016-11-16 16:17:21 -08:00
Shadowfacts
bf8fa5d286
Fix crafting causing crash ( #3388 ) Closes #3387
2016-11-16 16:15:24 -08:00
LexManos
42a7036393
Fix ItemStackHandler's constructor ignoring size. Closes #3386
2016-11-16 16:06:52 -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
mezz
e498dc7532
[1.11] Fix initCapabilities for ItemStacks ( #3379 )
2016-11-16 14:15:02 -08:00
LexManos
f8cba13b5b
Fix localizations not loading correctly in legacy resource packs.
2016-11-15 22:59:31 -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
9ab96fbda6
Update to 20161111 mcp names
2016-11-12 10:05:32 -05:00
mezz
7a4aa5a1c4
Improve error message from crashes during loading ( #3362 )
2016-11-10 20:00:11 -06: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
LatvianModder
27ebd0e9b9
Added PermissionAPI ( #3155 )
2016-11-04 13:36:30 -07:00
Choonster TheMage
9a9c02fa25
Add hand argument to BlockEvent.PlaceEvent ( #3221 ) ( #3270 )
2016-11-03 11:53:12 -07:00
Jezza
5802a3b0b6
Fixes #3237 and #2752 . ( #3347 )
...
* Fix #3237 by correctly utilising the keepLooking argument.
* Explain within SimpleNetworkWrapper's javadoc that the execute of the handler isn't on the main Minecraft thread.
2016-11-03 03:34:25 -07:00
Draco18s
dc871ea273
Made default slot implementation respect inventory stack size limit.
2016-11-01 13:41:14 -07: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
CoderAtParadise
bd62cf81fd
Fixed Ore Dictionary replacing the oak boat recipe ( #3329 )
...
Fixes the oak boat recipe being able to be crafted with any wood
2016-10-24 13:44:18 -07:00
RWTema
a1bbcf8a0b
Improve the default isItemValid() and getItemStackLimit() implementations in SlotItemHandler. You can now properly swap the player's held itemstack with the slot's itemstack. ( #3273 )
2016-10-24 12:44:56 -07:00
LexManos
159ca09c54
Special case not drooping snowballs for water and snow layers. Closes #3326
2016-10-23 14:07:24 -07:00
mezz
bea5d44273
Add better key modifier behavior for GUI contexts ( #3307 )
2016-10-14 13:14:27 -07:00
LexManos
490573a71f
Fix Tabbing issues with config classes.
2016-10-11 12:21:14 -07:00
LexManos
9c7d20b3a1
Initial pass a re-working the configuration system.
...
Work in progress.
2016-10-10 22:15:35 -07:00
cpw
d7dda9e960
Fix substitutions being broken after freezing - actually store the original state in registry copies, not the computed state, which is wrong because it only sees the sub, not the original.
2016-10-10 15:04:45 -04:00
cpw
5f06c95cfa
Revert "Another fix for registry substitutions. Closes #3212 "
...
This reverts commit ec2977afc9
.
2016-10-10 15:04:45 -04:00
LexManos
6e8c05343c
@ObjectHolder will now inject null for dummied objects. Closes #3301
2016-10-09 15:57:18 -07:00
Steven Blom
d3da111c08
Allow all Forge Registries to work with ObjectHolder ( #3220 )
2016-10-09 13:34:38 -07:00
LexManos
7a63e67e9d
Revert commits related to filtering proxy and Automatic Subscriber annotations.
...
Broke some existing setups, will require a annotation definition change in 1.11.
2016-10-09 12:36:21 -07:00
mezz
d159f5f4e2
Fix proxy injector filtering. ( #3300 )
2016-10-09 01:22:28 -07:00
LexManos
92eb71ae9c
Bump version for new Recommended Build.
2016-10-08 16:33:27 -07:00
LexManos
bc303074f6
Introduce IContextSetter for events.
...
This will set the active mod container for events using the normal EventBus.
Fixes improper warnings from initializing mods using the new Registry events.
Modders, you should not use this as it has many performance implementations
and if abused will slow down the event bus A LOT. ActiveModContainer is not
thread safe.
2016-10-08 16:30:53 -07:00
LexManos
c0db34796b
Filter out proxy injectors for incorrect mods.
...
Prevents mod classes being initialized early when multiple mods are in the same source.
2016-10-08 16:27:49 -07:00
mmehnert
4feb1dff50
caseSensitiveCustomCategories must be set before loading the configuration file. ( #3269 )
...
Otherwise one set with categories in lowercase letters and on case sensitive
set is generated.
2016-09-22 17:03:35 -07:00
tterrag
d3ad8aed76
Fix typo in sky rendering causing tons of BlockPos allocations ( #3267 )
2016-09-21 12:50:24 -07:00
cpw
7a84376044
Add in registry registration events, new subscription events you can use to make sure you're registering things at the "best" time.
2016-09-17 21:13:15 -04:00
LexManos
1107088acb
Add support for generic filtering of events.
...
Please DO NOT use this in performance sensitive environments where you will have tons of things added to the listener list.
If that's the case define sub-classes as they have completely separate lists and will thus be more efficient when firing the event.
2016-09-17 15:08:23 -07:00
James Mitchell
89eb8f067d
Remove oredict for Bone Block recipe, stop white dye to bonemeal exploit ( #3255 )
2016-09-15 01:03:52 -07:00
LatvianModder
3b5ada083e
Added getCommandMap() & getSortedCommandList() in CommandTreeBase ( #3251 )
2016-09-13 12:46:23 -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
LatvianModder
4e3b6b0f15
Added CommandTreeBase ( #3193 )
2016-09-13 00:36:51 -07:00
Marvin Rösch
bf6437c12a
Fix universal bucket not being returned in crafting recipes ( #3234 )
2016-09-13 00:02:01 -07:00
LexManos
b879cc9b73
Fix potential shading issue in GuiEditArrayEntries. Closes #3247
2016-09-12 14:48:55 -07:00
LexManos
45097fed0c
Introducing a new standardized energy capability system.
...
Heavily inspired by the old RedstoneFlux API developed by King Lemming and Team CoFH.
2016-09-12 14:47:59 -07:00
Paul Fulham
0c8f51bc95
Fix item use stats ( #3216 )
2016-08-22 21:29:48 -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
LexManos
ec2977afc9
Another fix for registry substitutions. Closes #3212
2016-08-21 15:54:57 -07:00
LexManos
d6d9a45100
Add legacy support for signature change of AddCallback.
2016-08-20 17:11:17 -07:00
boni
8dbfe1baad
Expand getHarvestLevel to include player and blockstate ( #3192 )
2016-08-19 15:54:37 -07:00
Abastro
dd41990db4
Fixed NPE from missing Capabilities ( #3191 )
2016-08-14 13:58:54 -07:00
LexManos
0e286f880e
Fix World Capabilities NPE when there are no attached capabilities.
2016-08-14 01:48:41 -07:00
Abastro
bfddcfb4fc
Introduced Capabilities for World ( #3069 )
2016-08-13 20:42:00 -07:00
MrIbby
d17c025557
Added PlayerBrewedPotionEvent ( #3187 )
2016-08-13 13:38:45 -07:00
cpw
03c8852961
Don't crash if you select a fake player
2016-08-13 16:37:58 -04:00
LexManos
3a48a9cd73
Skip searching for mods in the JAVA_HOME directory. Closes #2249 and #2250
2016-08-13 13:28:21 -07:00
shartte
7643be8cdc
Unlike BakedQuad, UnpackedBakedQuad does not propagate the diffuse lighting flag to Vertex Consumers. Made UnpackedBakedQuad conform to BakedQuad's behavior. ( #3181 )
2016-08-12 14:33:38 -07:00
LexManos
4cd0f88a69
Add RenderTooltipEvent ( #3034 )
2016-08-12 13:57:07 -07:00
LexManos
1c8f22ed43
Set ModelLoader.WHITE's texture size iniatlly instead of defaulting to zero and being set later.
2016-08-12 13:49:46 -07:00
James Mitchell
f20d728ed7
Fix #3165 Dispensers with buckets can destroy fluid handler blocks ( #3180 )
2016-08-12 01:36:18 -07:00
LexManos
fe2243df9f
Removed unintentional functionality when using the Splash Screen.
2016-08-08 17:54:12 -07:00
LexManos
62ec59103a
Compleetly skip FML handshake for Vanilla connections. Should fix race condition. Closes #3084
2016-08-08 17:35:15 -07:00
LexManos
69af6a9b8c
Fix name in legacy support in registry changes.
2016-08-08 17:32:49 -07:00
AlgorithmX2
bc6b008364
Fix Vertex Transformer for breaking models ( #3132 )
...
* Add setTexture to IVertexConsumer and propagate it.
2016-08-04 16:37:59 -07:00
LexManos
7c4ffde39c
Fix Forge fluids not serializing properly. Closes #3152
2016-08-02 15:55:46 -07:00
LexManos
f4e8804c8a
Restone binary compatibility with registry substitution rework.
...
Modders please switch to using the provided RegistryBuilder to ensure more forward compatbility. Closes #3144
2016-08-02 15:55:18 -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
cpw
4dcee246d5
Another pass at substitutions - now capable of fixing up ItemBlock to point at the right block when a block is substituted, should also handle substituting itemblocks. There's some hackery in the way we have to change the value of ItemBlock.block, but it's not too egregious in my opinion.
2016-07-29 17:08:52 -04:00
cpw
1473334f61
Merge remote-tracking branch 'origin/pr/3120' into 1.10.x
2016-07-28 23:15:32 -04:00
cpw
7e15ab7da1
Fix anvil output slots being wrong by adding new ones. Closes #3121 without breaking existing mod workarounds for the badly ordered slots.
2016-07-28 22:17:35 -04:00
cpw
de80d4c4af
Clean up some legacy settings, making sure there's translation strings. Closes #2965 Thanks for the prompt Zaggy!
2016-07-28 21:47:36 -04:00
AlgorithmX2
a3d8664028
Use extended state for breaking models ( #3086 )
2016-07-28 16:00:36 -07:00
cpw
5d9169db0f
Merge remote-tracking branch 'origin/pr/3125' into 1.10.x
2016-07-28 18:25:45 -04:00
Alexandre DUPONCHEL
b0fd97557e
FIX : IndexOutOfBoundException
2016-07-28 17:59:59 +02:00
cpw
543156a008
Tidy up some more todos
2016-07-27 10:52:48 -04:00
cpw
056ff67a81
Mark it for actual removal in 1.11
2016-07-27 10:41:20 -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
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
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
fc43ebbd7e
Use CreateFluidSourceEvent for mod fluids as well
2016-07-23 22:39:54 -04:00
Joseph C. Sible
b95d443f22
Add CreateFluidSourceEvent to control infinite fluid sources
2016-07-23 22:39:54 -04:00
cpw
d7245c5ffe
Merge remote-tracking branch 'origin/pr/3055' into 1.10.x - closes #3055 and #3043 hopefully. Complex solution, but it seems legit. Needs testing.
2016-07-23 20:14:51 -04:00
cpw
45b299ce06
Something that needs to happen: warn people about bad modids- if they're not lowercased, or if they're too long.
2016-07-23 20:01:54 -04:00
Vincent Lee
7ed5fc7e00
Add missing cancelable
2016-07-23 12:33:14 -05:00
Vincent Lee
94a41e1fcc
Add hand-specific render event
2016-07-23 12:29:58 -05:00
cpw
b7739ffc71
Some tweaks to ContainedDeps - it should extract to a file in versionedMods directly, even if the tag in the jar has a subpath element. It'll also skip if there is a matching filename in the main mods dir.
2016-07-21 13:59:02 -04:00
cpw
7d4bf619fe
More tests. Substitutions now work, and a fix is included. *sigh* Closes too many bugs to count.
2016-07-20 16:03:56 -04:00
cpw
22394f87d5
Some test harness stuffs. Time to get the registry manager properly tested.
2016-07-19 19:21:52 -04:00
LexManos
5f234fdcf8
Added support for using static methods as event listeners, Register the .class instead of an instance.
...
And added an improvement to calltime listener rebuilding.
2016-07-13 12:08:13 -07:00
LexManos
b76b223d62
Bump version for a RB
2016-07-11 12:38:15 -07:00
cpw
7e36205ba7
Merge #3060 into 1.10.x
2016-07-09 11:58:09 -04:00
Vincent Lee
f76af6103e
Add throwable impact event ( #3071 )
2016-07-08 21:12:45 -07: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
LexManos
f58d1cae1a
Fixed FPS graph and new debug lines not being rendered in Debug screen. Closes #3054
2016-07-01 13:53:26 -07:00
LexManos
72f7c0be1f
Forge will now load extra mods from mods/mod_list.json and mods/mc_version/mod_list.json.
...
As defined by the same json spec as --modListFile.
And now if repositoryRoot is prefixed with absolute: the path will NOT be relative to the MC directory.
2016-06-30 00:16:40 -07:00
Mumfrey
32459b01b6
Store member field mappings in the mapping table, possible fix for #3043
2016-06-29 15:33:27 +01:00
LexManos
6ad65f4e64
Fixed MC version number...
...
I could of SWORN we removed this in favor of a automated system...
2016-06-28 22:27:47 -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
18b2eeef90
Fix milk bucket is fillable with water or lava when milk is unregistered ( #3039 )
2016-06-26 12:19:04 -07:00
mezz
1871cf1b02
Fix FluidContainerRegistry handling potions as water bottles ( #3037 )
2016-06-26 12:18:11 -07:00
mezz
99616a503f
Remove duplicated universal buckets from the creative list ( #3035 )
2016-06-26 12:18:02 -07:00
cpw
0b1e94babd
Big warning for recipe types found without being registered, it turns out this is pretty severe, modders need to fix it.
2016-06-26 12:52:14 -04:00
mezz
fde90973c3
Fix comparison stability of the Recipe Sorter with unknown recipes #2962 ( #3030 )
2016-06-25 17:13:24 -04:00
LexManos
dd3c3a249e
Fixed Husks rendering as standard zombies. Closes #3028
2016-06-25 11:05:46 -07:00
luacs1998
8e3bc83c3b
Simple implementation of a Open/Close container event ( #3017 )
2016-06-25 12:34:42 -04:00
cpw
efbd21e3eb
Fix that the Missing blocks/items/registries prompt often got stuck.
2016-06-25 01:07:45 -04:00
cpw
cc593f3939
Accept more 1.9.4 version strings. Fix NPE for custom villager types and their associated zombie spawns. Still needs review.
2016-06-23 09:29:03 -04:00
LexManos
09e109cac0
Fix version number.
2016-06-22 23:46:02 -07:00
cpw
260be68723
Update to 1.10
2016-06-23 02:39:55 -04:00
cpw
c8d775c865
In accordance with our stated goal of relicensing Forge to LGPL v2.1, this commit enacts that change. Although it is using the 1.9.4 codebase, it is intended that this branch become public with the 1.10 changes, as such the license will take effect at that time. The three commits from persons who have failed to accept the new license, as documented in #2789 , have had their commits reverted. This should complete the license transition. Commits after the commit date of this commit should be considered licensed by LGPLv2.1, as indicated in LICENSE-new.txt. All patches are now considered owned by the Forge project and Forge Development LLC in particular (note that they will not get the license boilerplate, as they are machine generated files).
2016-06-22 23:49:48 -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
cpw
1a97d74939
Revert "Added tab completion"
...
This reverts commit fe327fbd76
.
# Conflicts:
# src/main/java/net/minecraftforge/server/command/ForgeCommand.java
2016-06-22 23:35:13 -04:00
cpw
9c003fcb15
Revert "Changed forge command tab completion to use getListOfStringsMatchingLastWord()"
...
This reverts commit 6a299a483a
.
# Conflicts:
# src/main/java/net/minecraftforge/server/command/ForgeCommand.java
2016-06-22 23:31:48 -04:00
diesieben07
5604e3f380
Make ASMDataTable more useful: ( #2911 )
...
- EnumHolder now has getters for it's data
- enum arrays work now
- nested annotations work now outside of being in arrays
(cherry picked from commit f10f750)
2016-06-22 22:52:57 -04:00
mezz
ba9ec61648
Fix incorrect FluidUtil doc ( #2996 )
2016-06-22 22:20:50 -04:00
mezz
86d5b5a872
Improve the "missing mods" on-screen error message ( #2997 )
2016-06-22 22:18:34 -04:00
mezz
eca97de272
Fix #2918 Make dispensers with buckets work with modded fluids ( #2947 )
2016-06-18 16:29:28 -07:00
Vincent Lee
a63d92eb60
Fix AnimationItemOverrideList not falling back to super ( #2990 )
2016-06-16 12:49:00 +04:00
mezz
9cd2c697e5
Fix #2961 Capability data is not preserved by fluid handler interactions ( #2976 )
2016-06-13 20:01:28 -07:00
cpw
dd09da27b5
Slight tweak to early loading, to accommodate FMP
2016-06-13 09:33:26 -04:00
cpw
f7feec029e
Mute the connection reset by peer exception - it's spamilicious for the most part.
2016-06-12 12:15:10 -04:00
cpw
ee7c965fe0
Fix missing IMC message query.
2016-06-11 21:08:54 -04:00
Man of J
6da3250583
Read a Update JSON in UTF-8 ( #2978 )
2016-06-11 13:06:38 -07:00
mezz
c776d97691
Add methods to Fluid to allow custom vaporization overrides ( #2959 )
2016-06-09 02:30:06 -07:00
RainWarrior
883bfe57ab
Fixes #1984 .
2016-06-05 11:15:05 +03:00
RainWarrior
a649cce2ea
Modified SimpleModelState to ignore the parts it doesn't know about. Fixes model part hiding always applying to some models when transformations are specified in the blockstate json.
2016-06-05 10:14:44 +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
mezz
14ee316d06
Make it easier to use FluidTanks that have input/output restrictions ( #2945 )
...
These internal function should NOT be used by anything except the owner of the tank.
2016-06-04 01:29:44 -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
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
06d7a9e39c
Forge will now warn the user and ask permission to load a world with unknown registries. Closes #2934
2016-06-01 19:40:59 -07:00
LexManos
8432f95223
Fix BlockFluidBase having collision. Closes #2932
2016-06-01 13:58:05 -07:00
cpw
caa61e1be9
Merge branch '1.9.4'
2016-05-31 00:34:03 -04:00
RainWarrior
ce481da1d1
Initial support for model visibility system. Implemented it for OBJ, B3D and normal vanilla models; fixed NPE accessing parent state in B3DModel. Fixes #2801 .
2016-05-30 01:20:43 +03:00
mezz
86baf7462f
Improve JavaDoc links, fix some broken JavaDocs ( #2833 )
...
Improve JavaDoc links, fix broken JavaDocs
2016-05-29 14:05:07 -07:00
LexManos
e65218b525
Fixed new ICrashReportDetail loader working with packaged mods by delaying it until the ModContainer's construct event. Closes #2924
2016-05-29 02:37:37 -07:00
LexManos
d3e758fce6
Fixed issue with @ObjectHolder and the new registry system. Closes #2640
...
Only run static initalizers for classes we need to get the names from values.
2016-05-29 00:06:43 -07:00
LexManos
aef721a248
Fixed FluidUtil.tryEmptyFluidContainerItem not checking if the tank can accept fluids first. Closes #2527
2016-05-28 23:06:42 -07:00
LexManos
b5f8da794c
Make sure tool-classes for vanilla tools are initialized early. Closes #2909 and #2525
2016-05-28 22:58:39 -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
93be22fc8e
Add ServerHangWatchdog to TerminalTransformer whitelist. Closes #2203
2016-05-28 21:19:47 -07:00
LexManos
b8996b14bc
Fixed EntityRegistry.addSpawn adding duplicate spawn entries. Closes #2112
2016-05-28 20:53:19 -07:00
LexManos
0406267d89
Fix javadocs for BiomeColor events. Closes #2093
2016-05-28 20:15:32 -07:00
LexManos
debe0ffdf8
Fire LivingSpawnEvents for MobSpawners. Closes #2079
2016-05-28 20:13:03 -07:00
LexManos
35978b0d96
More uniformly apply Configuration.caseSensitiveCustomCategories. Closes #1353
2016-05-28 18:04:29 -07:00
LexManos
4824d647f4
Set Enchantment table's harvest level. Closes #1349
2016-05-28 17:55:27 -07:00
LexManos
a1a67e7654
Capture interfaces when scanning classes and preload implementations of ICrashReportDetail.
2016-05-28 17:50:42 -07:00
LexManos
a97b4c4db7
Fix installer downloading vanilla jar when not needed. And filter some more known libraries.
2016-05-28 17:47:12 -07:00
cpw
4c56961b9e
Strip Optional from the class signature as well, since that's loaded by the TypeToken registry code and might cause a crash.
2016-05-28 18:05:24 -04:00
LexManos
b65b2991a4
Fix paramters for addArmorMaterial, addOption and addGameType.
2016-05-24 16:10:47 -07:00
LexManos
8c02a0a4cc
Set max enchantment ID to Short.MAX_VALUE. Closes #2799
2016-05-23 16:10:44 -07:00
LexManos
9df1e4b11e
Take capabilities into account when comparing ItemStack NBT's. Closes #2726
2016-05-23 15:30:20 -07:00
LexManos
5bd06388c1
Bump version information for 1.9.4.
2016-05-18 17:22:39 -07:00
cpw
68ad1e03cf
Fix schizophrenia in version numbers.
2016-05-18 13:10:41 -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
boni
5d5c005aae
Fix Bucket rendering and add sound ( #2865 )
...
* Adjust generated quads from texture to take texture size into account #2858
* Fix universal bucket not passing through when rightclicking on a non-block
Add proper sound events when picking up modded fluids #2821
* Have FluidUtil execute properly on both sides and sync as expected. Add default sounds to interacting with tanks
* Save sound for filling/emptying in the fluid
2016-05-16 13:20:31 -07:00
LexManos
87b0f7db99
Lets just simply this. Fixes last commit.
2016-05-14 21:40:31 -07:00
LexManos
d5b93bf262
Add modder facing API for Villager Career level trades. Ref: #2854
2016-05-14 20:11:55 -07:00
RainWarrior
5445f96327
Extended Animation State Machine format to allow multiple transitions from one state.
2016-05-13 12:46:34 +03: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
RainWarrior
92800f61d3
Fixed joint animation application correctly.
2016-05-10 10:46:04 +03: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
RainWarrior
babd54bb87
Fixed joint hierarchy not being used fully in the animation system.
2016-05-09 20:40:53 +03:00
LexManos
d30aae862f
Fixed issue in ChunkIO that would potentially cause NPEs on chunks. Closes #2837
2016-05-09 02:10:24 -07:00
LexManos
a7d5820e99
Fixed map extension recipie.
2016-05-08 16:38:07 -07:00
mezz
363e84b2c5
Fix the rand given to PopulateChunkEvent ( #2834 )
2016-05-07 11:17:18 -07:00
Matthew Messinger
5f74a75435
Fix url regex ( #2815 )
...
Fixed url detection in chat messages. Stops false positives such as `um.....no`
2016-05-04 10:46:33 -07:00
LexManos
aa672ea69a
Bump version for new RB.
2016-05-03 23:19:51 -07:00
LexManos
42404c531d
Slightly better practice because wait can be randomly interupted.
2016-05-03 23:19:40 -07:00
cpw
f5781488d9
Merge branch '1.9'
2016-05-03 23:24:43 -04:00
LexManos
3177d55579
Remove usage of AsynchronousExecutor library in favor or a simpler implementation.
2016-05-03 19:54:04 -07: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
RainWarrior
330812dfa8
Fixed custom fluid sufraces not rendering from the bottom. Closes #2800 .
2016-05-03 09:53:55 +03:00
bloodmc
5a20950902
Call markDirty when restoring blocks with TileEntities. ( #2809 )
...
This change makes sure the updated tileentity is saved properly within the
chunk.
2016-05-02 15:21:59 -07:00
bloodmc
b53e53dcb7
Call markDirty when restoring blocks with TileEntities. ( #2807 )
...
This change makes sure the updated tileentity is saved properly within the
chunk.
2016-05-02 15:01:49 -07:00
LexManos
26b5059396
Fix sluggish scrolling on GuiScrollList's and fix small rendering issue with scroll bar on certian screen sizes.
2016-05-02 14:13:33 -07:00
boni
8fdd76bae1
Fix SidedInvWrapper accessing wrong slots for setStackInSlot. ( #2797 )
...
Fix DoubleChestItemHandler not implementing IItemHandlerModifiable
2016-05-02 12:19:54 -07:00
mezz
9c9107c434
Close #2780 add CMD localization for Mac key bindings ( #2792 )
2016-04-29 12:04:48 -07:00
Vincent Lee
35999f9a20
Boss bar render event ( #2701 )
...
Allow control over increment height
2016-04-14 22:34:45 -07:00
iTitus
fa21f2b44c
Fix forge:default-block transformation. ( #2760 )
...
The first-person left-hand rotation was a little bit of.
2016-04-13 22:53:25 +04:00
LexManos
205f5c13c8
Expose a central place to access all of Vanilla and Forge's registries using the new registry API.
2016-04-09 22:33:39 -07:00
mezz
c560af69a5
Fix log spam from invalid key modifiers ( #2746 )
2016-04-09 17:02:03 -07:00
Matthew Prenger
2a3774def3
Don't use import static with net.minecraft classes. Using the latest MCP snapshots this causes an import conflict. ( #2742 )
2016-04-09 16:03:46 -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
Matti Ruohonen
03584ec411
Fix ForgeChunkManager world unloading check ( #2736 )
2016-04-07 15:39:55 -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
Craig Burton
d31cf8ddbc
Update ore dictionary ( #2721 )
...
Updated the Ore Dictionary with more vanilla items:
-Prismarine Shard ( "gemPrismarine" )
-Prismarine Crystals ( "dustPrismarine" )
-Prismarine Block ( "blockPrismarine" )
-Prismarine Brick ( "blockPrismarineBrick" )
-Dark Prismarine ( "blockDarkPrismarine" )
-Nether Wart ( "cropNetherWart" )
-Sugarcane ( "sugarcane" )
-Paper ( "paper" )
-Ender Pearl ( "enderpearl" )
-Bone ( "bone)
-Gunpowder ( "gunpowder)
-String ( "string" )
-Nether Star ( "netherStar" )
-Leather ( "leather" )
-Feather ( "feather" )
-Egg ( "egg" )
-End Stone ( "endstone" )
-Torch ( "torch" )
-Vine ( "vine" )
-Cactus ( "blockCactus" )
-Grass ( "grass")
-Obsidian ( "obsidian" )
-Red Sandstone ( added to "sandstone" )
-Crafting Table ( "workbench" )
-Slime Block ( "blockSlime" )
-Granite ( "stoneGranite" )
-Polished Granite ( "stoneGranitePolished" )
-Diorite ( "stoneDiorite" )
-Polished Diorite ( "stoneDioritePolished" )
-Andesite ( "stoneAndesite" )
-Polished Andesite ( "stoneAndesitePolished" )
2016-04-07 11:49:31 -07:00
RainWarrior
db04370830
Made forge fluids use smooth lighting.
2016-04-06 16:13:51 +03:00
LexManos
7973984227
Fixed NPE in dedicated server languages. And fixed logger for main FML event bus.
2016-04-06 02:11:27 -07:00
LexManos
07a2b67b7f
Cleanup OBJLoader parse function and fix issues related to JVM differences.
...
Also fix support for sopme of the spec that was partially respected.
2016-04-06 01:45:43 -07:00
LexManos
fb0bdd1276
Enhance some error logging related to OBJLoader issues, and RegistryEntries.
2016-04-06 01:44:08 -07:00
mezz
e68908e9d5
Fix some plain keybinds not working when a modifier is active
2016-04-05 23:01:26 -07:00
Katrina Swales
8d50c9e988
Corrected CapabilityItemHandler.readNBT ignoring anything in slot 0 in 1.9
2016-04-06 01:43:23 +01:00
Katrina Swales
f4ca1f61b9
Corrected readNBT ignoring anything in slot 0
2016-04-05 19:44:20 +01:00
RainWarrior
cb7685a3b0
Fixed forge fluid having a collision box.
2016-04-05 18:55:42 +03:00
RainWarrior
bf16d0066b
Fixed zip being closed too early in the server language loading.
2016-04-05 18:53:19 +03:00
RainWarrior
d44c9082fa
Fixed mod languages not being loaded on the server.
2016-04-05 10:41:42 +03: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
ce4bb8fe93
Fix improper logic in ItemHandlerHelper.giveItemToPlayer causing some items to not be added. Closes #2705
2016-04-04 15:44:03 -07:00
RainWarrior
2ae47c0903
Made both exceptions occuring during item model loading print in the log; closes #2696 .
2016-04-04 18:07:06 +03:00
RainWarrior
879b7b5a61
Added the ability to change the printed model error count; Added printing of actual exceptions causing missing variants related to blockstate loading, closes #2689 .
2016-04-04 16:02:21 +03: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
RainWarrior
77772ac3f5
Changed generic signature of GameRegistry.register methods to work around the type inference bug; updated all example mods to the new block/item registration method.
2016-04-03 10:14:16 +03:00
LexManos
fc57d5e6c6
Merge pull request #2693 from Adubbz/1.9
...
Fixed mismatched registry names and mod ids
2016-04-02 23:04:15 -07:00
LexManos
d13449b1b3
Merge pull request #2692 from mezz/keyBinding19
...
[1.9] Add key binding modifiers and contexts.
2016-04-02 23:02:59 -07:00
LexManos
087a7d8c59
Properly deprecate and link the replacement methods in GameRegistry. Add helper method for registering a block with default ItemBlock because people keep complaining -.-
2016-04-02 22:16:22 -07:00
Adubbz
8374a80283
Fixed mismatch registry names and mod ids
2016-04-03 15:13:25 +10: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
LexManos
8058c675ab
Fixed compile error in registry code with Eclipse.
2016-04-02 12:01:40 -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
cpw
efcb9ee570
Support ResLocations for IMC
2016-04-02 12:19:36 -04:00
RainWarrior
4c8da35655
Improved UV offset hackery - should fix most visible custom model seams.
2016-04-02 18:49:18 +03:00
cpw
c74216bdf2
MinecraftForge-2684 [1.9] New Registry ignores keys
2016-04-02 11:38:03 -04:00
cpw
c44ed8fbde
MinecraftForge-2683 InvocationTargetException for Forge 1820 for 1.9
2016-04-02 07:50:02 -04: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
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
Hea3veN
b427b26583
Fix remapped blocks being overriden with dummy air blocks. Closes #2491
2016-04-01 20:55:19 -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
82f964c00d
Merge pull request #2664 from gigaherz/capability-storage
...
Make access to the Capability IStorage less annoying
2016-03-30 16:00:47 -07:00
LexManos
38c57d9038
Make NoteBlockEvent raw constructor protected to allow subclasses. Closes #2153
2016-03-30 15:26:48 -07:00
LexManos
746c07fc6c
Fix EntityPlayer still running old armor logic. Closes #2670
2016-03-30 14:05:27 -07:00
RainWarrior
90758f8c96
Fixed StackOverflow caused by the previous commit, closes #2669 .
2016-03-29 15:34:45 +03:00
RainWarrior
a073b0e386
Prevent missing model from loading multiple times.
2016-03-29 12:07:26 +03:00
gigaherz
70e85b5eec
Add wrapper methods for IStorage#readNBT/writeNBT.
2016-03-28 18:22:42 +02: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
efa7fd4dfe
Fixed crosshair always being white, closes #2653 .
2016-03-26 09:45:20 +03:00
RainWarrior
6e68aa4106
Enabled diffuse lighting by default in UnpackedBakedQuad.Builder.
2016-03-26 09:41:05 +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