KnightMiner
eafa8da4b7
Add more methods to the item registry adapter that make use of default props
...
Also make default props parameter optional and add some missing javadocs
2020-07-27 21:55:21 -05:00
KnightMiner
fe0f3297d9
Fix accidently caching an invalid texture atlas
2020-07-27 21:45:18 -05:00
KnightMiner
812bbe23fd
Add helper to registry adapters to copy name from another object
2020-07-27 21:44:57 -05:00
KnightMiner
ae8bba0162
Move injected helper to public context
2020-07-27 21:44:21 -05:00
KnightMiner
8f5999f37f
Fix crash on data gen as minecraft instance is null
2020-07-27 21:44:06 -05:00
KnightMiner
7be8e4e3ab
Clean up models
...
Just TRSR remains as possibly needed still, have to determine if that is still needed later
2020-07-26 00:16:21 -05:00
KnightMiner
b8bcd95af3
Add EnumObject.Builder and use it in the registries
...
Gives me more control over implementation of the map
2020-07-25 21:12:39 -05:00
KnightMiner
f6b1289ab9
Port shaped fallback recipe from Tinkers Construct
2020-07-25 20:59:44 -05:00
KnightMiner
6708568ab1
Add helper for getting a block sprite
2020-07-25 18:52:37 -05:00
Arthur (fuj1n) Uzulin
8eb2932f86
Fix book exceptions introduced in f1037ce and refined book nullability
2020-07-25 18:27:21 +10:00
KnightMiner
115d097603
Missed a packet in my earlier commit
2020-07-24 13:06:00 -05:00
KnightMiner
36c94bab9c
Add basic fluid rendering
...
Includes basic fluids model with just a list of fluid cuboids, and rendering logic to render those cuboids
2020-07-24 12:38:23 -05:00
KnightMiner
8b8f979a4f
Clean up network logic
...
* Renamed BookNetowkr network to MantleNetwork, as I'd like this to be usable for things other than books if needed
* Replace abstract packet with an interface
* Reimplement threadsafe packet
* Simplify registration methods
* Require a network direction on registation, to filter packets into client only/server only
2020-07-24 12:09:56 -05:00
KnightMiner
bdf1f11a03
Move model loader registration to mod construct
...
According to pupnewfster, registering it later causes it to randomly be registered too late
2020-07-24 11:42:19 -05:00
KnightMiner
a8899f976c
Port recipe utils from Tinkers Construct
...
Includes inventory wrappers, fluid ingredient, and recipe getter utils
2020-07-24 01:36:44 -05:00
KnightMiner
e658d4b5f9
Add fallback model loader
...
Allows loading the first model from a list with a matching mod ID
2020-07-24 00:28:16 -05:00
KnightMiner
6c0fb541b8
Add connected block model
...
More powerful than the 1.15 TiC one, supports 4 different connection types
2020-07-23 15:55:00 -05:00
KnightMiner
ba7a804212
Add default implementation to open GUI in InventoryBlock
...
Since we used the same logic in all cases
2020-07-22 23:24:10 -05:00
KnightMiner
b0354f803a
Port inventory model from Tinkers Construct
2020-07-22 23:10:15 -05:00
KnightMiner
d696860dcf
Kill the proxy, proxies are an outdated model
2020-07-22 21:23:25 -05:00
KnightMiner
b0e34d4d60
Add registration helpers
...
Contains two styles: adapters (for use in registry events) and deferred (for deferred registration). Should all support the same methods
2020-07-22 20:57:31 -05:00
KnightMiner
fabf401233
Replace mantle creative tab with supplier item group
...
Modern item groups lazy load the item, and supplier makes it more deferred registration
2020-07-22 20:44:16 -05:00
KnightMiner
f1037ce21a
Add package info and fix nullability
...
Everything defaults to nonnull now, and is labeled where null is likely
2020-07-22 20:43:55 -05:00
alexbegt
c96d1f4f05
Update to the latest forge, latest mappings and latest JEI version
2020-07-22 19:07:37 -04:00
alexbegt
de6bf27755
Update to the latest forge and switch to getting the Matrix Stack from the event
2020-06-26 18:48:40 -04:00
alexbegt
f5ac108070
Update Mantle to 1.16! Dropped Pulses and IRegistryUtil
2020-06-25 22:07:32 -04:00
alexbegt
f1b5162ff8
Remove an unused container class that has not been used since 2014.
2020-06-12 19:02:49 -04:00
alexbegt
cdfaa01db8
Delete StairsBaseBlock as it goes unused.
2020-06-12 19:00:02 -04:00
alexbegt
4267aac85c
Clean up InventoryBlock having an override that's no longer needed.
2020-06-12 18:59:53 -04:00
shedaniel
f8ed1d845b
split out dropInventoryItems
2020-06-09 19:17:56 +08:00
alexbegt
f35dbb4f99
Clean up some debug prints and fix onReplaced() on InventoryTileEntity not dropping items.
2020-04-02 21:09:07 -04:00
alexbegt
bbda40dea7
Rework our Containers and Screens to work with 1.15's way of registering contianers and screens. Use NetworkHooks.OpenGui() to open any GUI related to mantle as it depends on the Tile Entity's position being passed. Use getTileEntityFromBuf to get the Tile Entity. Shoutout to pupnewfster for their help!
2020-04-01 13:44:28 -04:00
alexbegt
40b75b9865
Perform some renames of Screen elements, Element* => *Element along with the Widgets: Widget* => *Widget
2020-03-29 23:23:23 -04:00
alexbegt
ff36f316c2
Fix TRSRBakedModel crashing the client.
2020-03-28 22:19:18 -04:00
alexbegt
001433cc20
Add the new rendering methods to all of our Baked models that allows for IModelData.
2020-03-26 01:21:24 -04:00
alexbegt
224f10e3a6
Don't use ContainerBlock as the subclass due to it using the createNewTileEntity
2020-03-18 11:59:13 -04:00
alexbegt
84b5537285
Update to the latest forge, and mappings.
2020-03-17 19:10:15 -04:00
alexbegt
3e255fb1cf
Update to the latest mappings and forge version.
2020-01-27 18:48:01 -05:00
Liang
22e142f94e
Update to 1.15.2 mappings ( #131 )
2020-01-24 11:45:57 +01:00
alexbegt
5a5d90fb13
Hopefully fix the ElementStructure Rendering and bump version to 1.5 instead of 1.4.
2020-01-11 18:38:13 -05:00
alexbegt
3f8e34648e
Update Mantle to 1.15.1!
2020-01-11 17:49:46 -05:00
alexbegt
bd078d694a
Add back second backslash in the convertNewLines method.
2019-11-24 19:54:44 -05:00
alexbegt
94d297bf0b
Upgrade to the latest forge, mappings (Mappings contain new names for some functions) and remove our Model, Language, BlockState and Drop generator since forge now has all these.
2019-11-14 20:53:11 -05:00
alexbegt
0044a11e0e
Improve the tooltip formatter in LocUtils to match TooltipItem
2019-11-14 20:22:05 -05:00
alexbegt
15fa7022dd
Fix tooltips showing 'LB' instead of putting the new line on well a new line.
2019-10-03 19:52:44 -04:00
Arthur Uzulin
74dde2ef0e
Reload tags when their generation increases
2019-09-30 11:55:05 +10:00
Arthur Uzulin
910cf5945f
Added tag support for ItemStackData
2019-09-30 10:09:30 +10:00
Arthur Uzulin
ca6530f3cd
Prevent TextDataRenderer from trimming each text data component
2019-09-30 09:53:35 +10:00
Arthur Uzulin
fd77673f60
Show cook time in seconds
2019-09-30 08:58:48 +10:00
Arthur Uzulin
dcd3bd5da9
BookElement.drawHoveringText now calls GuiUtils.drawHoveringText
...
No longer deprecated
2019-09-30 08:55:40 +10:00