cpw
c10174d50d
Update mappings, move mod initialization to the async loader.
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca >
2019-06-21 22:42:16 -04:00
cpw
9fa4641cb0
Update mappings
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca >
2019-06-08 10:45:28 -04:00
LexManos
a7df63e1a1
Update to 1.14.2
2019-06-07 16:50:47 -04:00
Robert WC Seifert
f68fdcf703
Fix for SidedInvWrapper isItemValid using wrong slot ( #5642 )
2019-04-25 18:20:42 -04:00
Brennan Ward
36470f69ad
Add class to wrap IItemHandler as IInventory for easier recipe interaction. ( #5522 )
2019-03-25 12:31:54 -07:00
LexManos
7113f4400c
Fix max entity radius not being settable by making it a instance method on world. Closes #5601
...
Fix VoidFluidHandler.INSTANCE not being a instance of VoidFluidHandler. Closes #5602
Remove backwards compat code and make IItemHandler.isItemValid non-default. Closes #5598
2019-03-11 15:04:04 -07:00
Ben Staddon
af717ad788
Fix droppers not spawning items in world ( #5559 )
2019-02-25 00:47:37 -05:00
cpw
f83500db11
Its 2019. Update licence headers to match.
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca >
2019-02-10 17:57:03 -05:00
tterrag
8e43dfa7a6
Refactor OptionalCapabilityInstance to LazyOptional; clean up
...
- Move to util package, rename to LazyOptional
- Clean up existing javadocs, add javadocs to everything missing them
- Add more NonNull functional interfaces, and use them everywhere
- Move orEmpty() to Capability, works better here anyways
2019-01-27 01:41:07 -05:00
LexManos
7a651b8c1f
Repatch missed hasTileEntity redirects. And cleanup related patches. Closes #5369
2019-01-25 13:11:06 -08:00
LexManos
f13465012b
World and TileEntity patch work.
...
TerrtainGen events are removed, 1.13's world gen re-write invalidates them all.
2018-12-13 01:15:53 -08:00
LexManos
eb22f42fea
More patch work, our async chunk loading doesn't appear to be viable for 1.13.
2018-12-05 18:08:27 -08:00
LexManos
dd32e74e34
Entity patches progress.
2018-12-05 01:16:33 -08:00
malte0811
b5264cacf0
Fix crash when placing furnaces or brewing stands in 1.13 ( #5225 )
2018-11-15 13:55:18 -08:00
LexManos
94e1a8e0a4
Update mappings to 09/21 snapshots.
...
Conflict with getMatrix in ITransformation, so renamed to getMatrixVec.
2018-09-22 03:40:22 -07:00
tterrag
3f743887e7
More compile cleanups. ( #5139 )
2018-09-14 09:30:56 -07:00
LexManos
a0cef07a0b
Pin MCPConfig version
...
Cleanup and implement BrewingRecipes
Delete client command related things
Cleanup some biome stuff.
2018-09-11 18:25:25 -07:00
cpw
77c3310711
Zeroth pass on 1.13
2018-09-05 12:56:01 -07:00
mezz
cfa33be24b
Fix SlotItemHandler.isItemValid check
2018-08-09 21:18:29 -07:00
Cody Brittain
4acfca27f8
Add functionality in IItemHandler to test if a slot can accept an item ( #5033 )
2018-07-28 17:38:18 -07:00
Ben Staddon
58d570a6f1
Fix ItemHandlerHelper.giveItemToPlayer creating item entities with incorrect contents ( #5007 )
2018-07-02 22:41:18 -07:00
LexManos
0cf5ef221c
Run licenseFormat to apply license header to all files.
2018-07-01 14:17:31 -07:00
mezz
dae7bcee4b
Remove invalid optimization in ItemStackHandler#setStackInSlot #3465
2018-05-12 21:07:25 -07:00
Parker Young
db3b2549e2
Update ItemHandlerHelper.giveItemToPlayer to allow player who picked up the item to hear the sound as well ( #4720 )
2018-04-01 00:43:39 -07:00
Joseph C. Sible
83b7010ddf
Fix item handler documentation that says returning ItemStack.EMPTY is required ( #4587 )
2017-12-12 21:18:42 -08:00
mezz
bbd4d8d6ef
Update java docs for IItemHandler. Fix #4553
2017-12-01 22:45:10 -08:00
Ben Staddon
7b4040b70b
Improve performance of inserting into inventory wrappers ( #4468 )
2017-10-31 10:41:33 -07:00
mezz
9675585891
Use lambdas for short anonymous methods
2017-06-27 23:18:09 -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
mezz
e3777f4559
Add missing Override annotations
2017-06-17 18:24:17 -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
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
James Mitchell
bc381b92ea
Improve performance of inserting into inventory wrappers ( #3622 )
2017-01-11 16:29:49 -08:00
James Mitchell
c545b8ecd4
Clean up null issues, add more annotations ( #3590 )
2017-01-11 15:17:56 -08:00
Vincent Lee
b020ea06ae
Fix IItemHandler's IStorage using nulls ( #3580 )
2017-01-11 15:16:07 -08:00
James Mitchell
5165dc52bf
Update MCP mappings to snapshot_nodoc_20161220 ( #3551 )
2016-12-21 15:52:30 -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
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
f9c74cfc77
Added isItemValidForSlot check to hopper extraction ( #3444 )
...
(cherry picked from commit 0348760a77 )
2016-12-05 12:06:16 -08:00
Vincent Lee
c17b40790b
Add getSlotLimit(slot) to IItemHandler ( #3445 )
2016-11-28 16:03:47 -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
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
mezz
eb6b3ea228
Implement fluid item capabilities without item swapping
2016-11-16 16:17:21 -08:00
LexManos
42a7036393
Fix ItemStackHandler's constructor ignoring size. Closes #3386
2016-11-16 16:06:52 -08:00
cpw
4e6a774075
Initial 1.11-pre1 update
2016-11-13 17:09:55 -05:00
Draco18s
dc871ea273
Made default slot implementation respect inventory stack size limit.
2016-11-01 13:41:14 -07:00