James Mitchell
5f6bf3b063
Stop rotation of extended pistons, beds, and double chests Fixes #3634
...
Fix rotation of repeaters and comparators
2017-02-19 10:48:43 -08:00
Kevin G
59a3b3cc79
[1.11.2] Make AbstractSkeleton implementable by fixing limited access on getStepSound ( #3702 )
2017-02-17 09:47:49 -08: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
Choonster TheMage
d53397111b
Fix Biome#getSpawnableList returning an empty list for non-vanilla EnumCreatureTypes ( #3611 )
2017-01-11 22:19:29 -08:00
Vincent Lee
a41288644d
Skip first baking in ModelLoader ( #3621 )
2017-01-11 18:33:13 -08:00
diesieben07
df0f1c4e75
Allow block to specify their type for AI pathfinding ( #3546 )
2017-01-11 16:43:41 -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
a718077a2e
Fix ContainerRepair patch to prevent NPE ( #3553 )
2017-01-11 16:14:38 -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
042c8ec739
Fix tests...
2016-12-26 21:52:15 -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
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
daf21e4dcf
Fix issue reading chunks from the network when client and server do not agree on block count. Closes #34925
2016-12-05 13:53:38 -08:00
LexManos
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
BlayTheNinth
2009b3ec5e
[1.11] Add canApplyAtEnchantmentTable to Item ( #3463 )
...
Allowing increased control of which enchantments can be put on an item over Vanilla's hard-coded item type checks.
Render enchantment buttons disabled when the item is enchantable but the enchantability requirement is not met on lower levels.
2016-12-03 10:43:29 -08:00
mezz
e09e6c0f24
Add a way for modded GuiScreens to cancel mouse and keyboard events ( #3438 )
2016-12-03 10:32:09 -08:00
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
8719fa0263
Make all tests one side only, so we can test vanilla clients in dev env.
2016-11-22 12:12:13 -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
843d3022f8
Fix build.gradle problems:
...
Installer missing url.png
UploadArchives erroring on local systems due to missing changelog
Adding branch name improperly.
2016-11-15 23:38:23 -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
d7b241c224
Add in missing test runner for a test. Fixes failing tests on jenkins, hopefully.
2016-10-10 15:20:51 -04: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
Joseph C. Sible
8195c36434
Fix test mod IDs, names, and versions ( #3122 )
...
Most of our test mods have bad IDs (uppercase) and are missing names or
versions. Forge produces a bunch of warnings in the console about this, which
makes it more likely that an important message will be missed.
2016-08-12 15:10:47 -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