Everything posted by loordgek
-
[1.12.2] Test if Inventory contains multiple Items
use itemstack.isEmpty not != new ItemStack(Items.AIR)
-
What is the purpose of the @ObjectHolder?
http://mcforge.readthedocs.io/en/latest/concepts/registries/
-
Steelseries GameSense Mod - MC 1.12.2
https://1drv.ms/u/s!Ai-emKyjYKqWg7oPrbudlosmoXLR0g here mine
-
Steelseries GameSense Mod - MC 1.12.2
did try to build it worked but got a crash when trying to start a game https://paste.ee/p/PnquI will look into it tomorrow
-
1.8 - How to update a count based on the amount of an item in inv
https://github.com/MinecraftForge/MinecraftForge/blob/1.8.8/src/main/java/net/minecraftforge/fml/common/gameevent/TickEvent.java#L50 event.entity does not exist
-
[1.11] Get Held Item from EntityLivingBase not working
no you need to == the item in the stack to your item
-
I need help with block scanning!
face palm DONT use that, learn java and code it properly
-
Help registering block!
@EventBusSubscriber tells forge "hey this is a class that has event methods" @SubscribeEvent tells forge "hey this method needs to recessive the event"
-
Help registering block!
you need @SubscribeEvent on the event methods https://github.com/loordgek/Extragenarators/blob/trytofix/src/main/java/loordgek/extragenarators/event/CommonEventHandler.java#L14
-
[1.12] How to save a specific item.
dont know it is the problem stack in 1.11 and up are not null check for isEmpty()
-
Setting a Llama as controllable
what mc version are you working on cant find canBeControlled in 1.12.2
-
[1.12] How to use Variants in Smelting Recipes
https://minecraft.gamepedia.com/1.13/Flattening
-
[1.12] How to use Variants in Smelting Recipes
2 reasons not to use this 1 ^ and 2 1.13 there will be no more metadata/subItems
- Regarding ItemStackHandler
-
How to perform an operation on the server side through the Event Handler?
in FMLPreInitializationEvent
-
How to perform an operation on the server side through the Event Handler?
DONT do that in the event handler
-
How to perform an operation on the server side through the Event Handler?
because you need for the @mod.eventSubscriber
-
[Fixed] Help with metadata blocks and events
and the better way is ...
-
crash when opening creative gui
it is crashing for me see log i will re setup the project see if that will fix it
-
[Fixed] Help with metadata blocks and events
event.crafting.getItem() == someitem && event.crafting.getMetadata() == whatever
-
crash when opening creative gui
it did work a while and now it is just crashing
-
crash when opening creative gui
https://github.com/loordgek/itemhandlerV2/tree/master/src/main/java/loordgek/itemhandlerv2/test
-
[1.12] Cannot add ItemStack to Chest
https://github.com/Excaliburns/ModPractice/blob/master/src/main/java/network/tutmodHuskItemMessage.java#L127 a itemstack can not be null, check for ItemStack.isEmpty
-
crash when opening creative gui
https://gist.github.com/loordgek/0f2f81f30d9e6b735f5c10c2a3eecb18 the code https://gist.github.com/loordgek/d5dc0cbec73ea9623a45e6d77f1de047
-
1.12.2 player is null in AttachCapabilitiesEvent
https://gist.github.com/loordgek/bb6b9822d9ddadac09ac9af6e5c96de0 fixed if you are asking "why are you adding a IItehandler tot the player" https://github.com/MinecraftForge/MinecraftForge/issues/3344
IPS spam blocked by CleanTalk.