Vincent Lee
4df20daf41
Allow advancement icons to have nbt ( #4114 )
2017-07-08 15:14:29 -05:00
talandar
03b7885aa6
Fix unblockable damage being blocked by armor. ( #3933 ) ( #4106 )
2017-07-03 12:56:23 -07:00
LexManos
16bfd8cef1
Version bump for RB
2017-06-28 21:34:43 -07:00
LexManos
0b969ef495
Optimize ExtendedBlockState.getClean, cache the return value instead of calculating it. Closes #3936
2017-06-28 14:26:25 -07:00
mezz
8581225da8
Use java 8 collection functions
2017-06-28 00:14:10 -07:00
mezz
9675585891
Use lambdas for short anonymous methods
2017-06-27 23:18:09 -07:00
mezz
93025510ae
Use multiple catch, try-with-resources, replace system.out and e.printStackTrace
2017-06-27 22:57:10 -07:00
LexManos
7281708df6
Repopulate client SearchTreeManager when registries are refreshed. Closes #4094
2017-06-27 16:28:08 -07:00
LexManos
b90d7a838e
Fix Biome unit test
2017-06-27 16:27:29 -07:00
LexManos
a4fb33d945
Add support for loading mod advancements from the mod jar files.
2017-06-27 15:18:52 -07:00
LexManos
86b231ea77
Fix BiomeDictionary not collecting correctly.
2017-06-27 14:04:51 -07:00
Ben Staddon
9a09ff68aa
Remove some deprecated methods and clean up
2017-06-25 22:30:18 -07:00
ichttt
690c9bb76a
Further Java 8 cleanup ( #4077 )
2017-06-25 14:25:57 -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
405a16aea1
Fix minecraft:item_nbt ingredient type.
2017-06-24 14:46:51 -07:00
mezz
27321efb1f
Clean up logging
2017-06-24 01:46:05 -07:00
Ben Staddon
1b5da5d4fe
[1.12] Cleanup of files with old licence headers, Add missing LGPL 2.1 licence headers ( #4051 )
2017-06-24 01:25:23 -07:00
Choonster TheMage
cb02f24cf2
Fix uncaught ClassCastException from invalid recipe file ( #4043 )
...
A JsonSyntaxException will now be thrown, caught and logged when the conditions property of a recipe isn't an array
2017-06-24 01:24:54 -07:00
mezz
d769d83224
Update MCP to 20170624
2017-06-24 00:56:21 -07:00
Ben Staddon
b0dfaa2b81
Remove Java 8 warnings now that Minecraft requires it
2017-06-23 23:31:50 -07:00
LexManos
dd42f84a47
Loosen up registry locks until data freeze.
2017-06-23 17:52:59 -07: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
LexManos
f1881453be
Fix recipe names in packaged jars. Closes #4039
2017-06-21 01:46:52 -07:00
TechnicianLP
e056c79ec7
IRecipeConditions forge:and and forge:false ( #4017 )
2017-06-20 02:19:14 -07:00
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
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
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
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
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
Flaxbeard
e1ddc4315c
Update EntityPlayer armor calculations and ISpecialArmor ( #3838 )
2017-05-26 14:11:52 -07:00
ichttt
2df36137c2
Add a configurable delay when unloading dimensions, fixes #3455 ( #3679 )
2017-05-06 12:19:01 -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
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
Vincent Lee
72dd06ca85
Allow result of PlayerInteractEvent to be changed when it's cancelled ( #3744 )
2017-04-07 16:38:56 -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
LexManos
ae96fd08db
Fix arrays in map values for config system
2017-04-06 13:15:26 -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
mezz
4fbc847736
Detect and log cascading chunk generation issues during terrain population ( #3756 )
2017-03-14 21:19:47 -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
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
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
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
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
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
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
Phylogeny
4b627a3672
Fix null check in BrewingRecipeRegistry ( #3584 )
2017-01-11 15:15:57 -08: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
e9143859c0
Fix some resources that are never closed, close in a finally block ( #3544 )
2016-12-21 11:13:27 -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
LexManos
babe0c2d53
Bump version for RB.
2016-12-05 20:54:35 -08:00
mezz
a913a8a0f9
[1.11] Add biome dictionary types for newer biomes ( #3475 )
2016-12-03 10:46:36 -08:00
diesieben07
96f88538d5
BiomeDictionary code cleanup ( #3466 )
2016-11-30 15:48:44 -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
mezz
2bd8b95a3b
Cleanup some null checks and remove deprecated methods in Item and Block ( #3429 )
2016-11-22 15:20:05 -08:00
Shadowfacts
9cf74914e7
Initial annotations/nullability changes ( #3392 )
2016-11-18 13:24:03 -08:00
LexManos
97ea0c4713
First draft of Entity Registry re-write.
2016-11-17 19:06:42 -08:00
mezz
150566d9a3
[1.11] Fix nullability issues around ForgeHooks and Capabilities ( #3395 )
2016-11-17 10:44:31 -08:00
Shadowfacts
bf8fa5d286
Fix crafting causing crash ( #3388 ) Closes #3387
2016-11-16 16:15:24 -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
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
Draco18s
998a78c3c1
Added events for crop growth ( #3320 )
2016-11-07 14:40:44 -08:00
Choonster TheMage
9a9c02fa25
Add hand argument to BlockEvent.PlaceEvent ( #3221 ) ( #3270 )
2016-11-03 11:53:12 -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
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
LexManos
92eb71ae9c
Bump version for new Recommended Build.
2016-10-08 16:33:27 -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
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
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
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
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
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
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
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
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
Man of J
6da3250583
Read a Update JSON in UTF-8 ( #2978 )
2016-06-11 13:06:38 -07: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
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
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
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
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
b65b2991a4
Fix paramters for addArmorMaterial, addOption and addGameType.
2016-05-24 16:10:47 -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
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
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
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
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
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
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
Matti Ruohonen
03584ec411
Fix ForgeChunkManager world unloading check ( #2736 )
2016-04-07 15:39:55 -07:00
Vincent Lee
e8ea52558b
Player Interact Event
2016-04-04 19:58:46 -05: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
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
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
746c07fc6c
Fix EntityPlayer still running old armor logic. Closes #2670
2016-03-30 14:05:27 -07: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
75032ebf9c
Made some more public fields either private or final.
2016-03-24 22:22:21 +03:00
RainWarrior
756c58d5cb
Removed RenderWorldEvent, encapsulated all public event fields.
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
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
RainWarrior
1d608c6fe4
Register the animation Capability. No idea how it worked before at some point.
2016-03-23 08:20:06 +03:00
LexManos
a596984bfd
Merge pull request #2622 from williewillus/dupedropfix2
...
Actually fix dupe drop
2016-03-22 13:00:28 -07:00
RainWarrior
08663587d4
Added Capability.cast, to allow avoiding unchecked casts in ICapabilityProvider.getCapability
2016-03-22 09:01:00 +03:00
Vincent Lee
b38cfc1769
Actually fix dupe drop
2016-03-21 22:39:48 -05:00
LexManos
81e0f2350d
Merge pull request #2593 from williewillus/dupedropfix
...
[1.9] Fix double dropping of items. Closes #2549
2016-03-21 19:35:58 -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
RainWarrior
4e6ad80370
Removed blockCenterToCorner from TRSRTransformation constructor. Closes #2461 .
2016-03-21 18:23:27 +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
RainWarrior
4b53f0716b
instance -> INSTANCE
2016-03-21 10:48:52 +03:00
RainWarrior
286c8c05b7
Separated model classes to client and common packages.
2016-03-21 10:48:52 +03:00
Vincent Lee
c39328993e
Fix double dropping of items. Closes #2549
2016-03-19 19:57:11 -05:00
Vasco Lavos
05801a74af
1.9: Fixed registering armor materials through EnumHelper exploding
...
1.9 ArmorMaterial now requires a SoundEvent for the equip sound.
2016-03-15 17:52:58 +00: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
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
LexManos
e4da09df2a
Bump version info. Rather important.
2016-03-09 14:52:32 -08:00
LexManos
7b7156e87f
Interaction hooks need to be re-added but compiles {Doesn't run}
2016-03-09 14:11:56 -08:00
cpw
aa24916736
Finish world, chunkloading should work again?
2016-03-09 00:48:32 -05:00
cpw
56a0d125bd
Remove more chestgenhooks stuff. Clean up some more ATs
2016-03-08 23:39:37 -05:00
cpw
25256c8ddd
More fixups, removing chestgenstuff aggressively. Use loot tables. Any missing ones WILL be added by Mojang.
2016-03-08 23:22:54 -05:00
cpw
a44d76652b
Another compilation fix
...
More patch tweaks for compilation errors. onItemUseTick takes an entity now, cos skellies use stuff too
2016-03-08 16:36:50 -05:00
cpw
fffbc0f078
Some more forge code fixes
2016-03-08 16:23:54 -05:00
RainWarrior
befbb45522
Most of ItemInWorldManager reject, various small error fixes.
2016-03-08 23:33:28 +03:00
LexManos
776eb00ed3
10 more rejects down.
...
98 errors 6 rejects left.
2016-03-07 23:34:40 -08:00
LexManos
26ca27193c
More patch work, client patches.
2016-03-07 21:06:54 -08:00
cpw
f0e5baa8e5
Few more compile fixups
2016-03-07 00:23:00 -05:00
LexManos
09bac53ed6
Fishing is now a loot table no more need for FishingHooks. {LootTables still need to be evaludated if they need extra hooks, but thats later} Goodbye 44 compile errors!
2016-03-06 17:01:52 -08:00
LexManos
74b2c3dfe6
World Patches work.
2016-03-04 16:40:34 -08:00
LexManos
8a506022d7
More work on misc things.
2016-03-03 02:57:38 -08:00
Adubbz
c87feabd6e
Updated BiomeManager to 1.9
2016-03-03 18:33:26 +11:00
Adubbz
706e894cbb
Updated the biome dictionary
...
Squashed commits:
[4064de6] Updated the biome dictionary
2016-03-03 18:15:30 +11:00
RainWarrior
cff4bf21ae
Updated raw types in ExtendedBlockState, fixed some ATs, updated some things that needed updating in model classes.
2016-03-02 20:00:32 +03:00
LexManos
7fadb5aeb8
Small renames before bed.
2016-03-02 01:44:41 -08:00
LexManos
8863aab9e5
Items done, <1000 errors whoot!
2016-03-01 23:38:31 -08:00
LexManos
ac7c4d2f6c
Some import renames and compile error fixes, killed ~800.
2016-03-01 04:58:03 -08:00
LexManos
1f80eb17df
util, tileentity, stats, realms. Potions got an overhaul and out registry will need to be adapted.
2016-03-01 04:07:00 -08:00
LexManos
f654157adb
net.minecraft.block.* patches
2016-03-01 00:31:58 -08:00
Matthew Miller (Me4502)
f1ad05dd8e
Added local click position to PlayerInteractEvent.
2016-02-27 11:27:21 +10:00
Bernhard Bonigl
1055206ba8
Add universal bucket
2016-02-16 00:49:01 +01:00
LexManos
06130912c5
Protect BlockSnapshot and Chunk.getTileEntity from mutible BlockPos instances. Closes #2438
2016-02-11 16:48:32 -08:00
LexManos
f4b0506515
Add missing classes to CrashReport preloading. Closes #2421
2016-02-11 16:28:25 -08:00
LexManos
e45d111685
Bump version in prep for new Recomended Build.
2016-01-25 11:32:41 -08:00