Everything posted by loordgek
-
Forge one-time injection
1.13 will be loading faster, mods will load parallel
-
saving multiple values in 1 Capablity
your readNBT does nothing usefull you only read the nbt
-
Shiginima Launcher, Forge 1.12.2 Upon loading my world, game crashes
buy the game, dont use a cracked launcher
-
Add capability to itemstack?
package loordgek.itemhandlerv2.captest; import net.minecraft.init.Items; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraftforge.event.AttachCapabilitiesEvent; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; public class lol { public static boolean somthing = false; public ItemStack createNewStack(){ somthing = true; ItemStack stack = new ItemStack(Items.ITEM_FRAME); if (!stack.hasTagCompound()) stack.setTagCompound(new NBTTagCompound()); stack.getTagCompound().setBoolean("somthing", true); somthing = false; return stack; } //note you should a bool to the rhe nbt of the sack if you want the cap to survive between saves @SubscribeEvent public void onAttachCapabilities(AttachCapabilitiesEvent<ItemStack> event) { if (event.getObject().hasTagCompound()){ if (event.getObject().getTagCompound().hasKey("somthing")) //add a cap here } if (somthing)// i made the stack { //add a cap here } } }
-
Add capability to itemstack?
did you read what Draco18s wrote ?? what you can do is add a cap using the event that allows adding/removing caps on the fly
-
How do you think coremod?
if not make a pr
-
Behold, a Multiline GuiTextField!
https://gist.github.com/Draco18s/2b02762b597e67a9b887aed241f25077#file-guimultilinetextfield-L23 ?
-
Game Crash (help?)
update minecraft moreplayermodels is for 1.12.2 you have 1.8.9
-
Help again in a modded 1.12.2 world
you have older mods in the mod folder where did you get the mods from
-
Help with porting BlockPhysics mod from 1.6.2 to 1.12.
can have your name so we can DM
-
Help with porting BlockPhysics mod from 1.6.2 to 1.12.
do you have discord ??
-
Help with porting BlockPhysics mod from 1.6.2 to 1.12.
i can make a new mod for you
-
Help with porting BlockPhysics mod from 1.6.2 to 1.12.
no you are not annoying me i am trying to help you
-
Help with porting BlockPhysics mod from 1.6.2 to 1.12.
yes stop. you have no idea what you are doing
-
Help with porting BlockPhysics mod from 1.6.2 to 1.12.
no that will return null EnumFacing orient = state.getValue(BlockDirectional.FACING); and you can get the state for world.getBlockStae
-
Help with porting BlockPhysics mod from 1.6.2 to 1.12.
that works but that is not the normal way you should do it like so EnumFacing orient = state.getValue(BlockDirectional.FACING);
-
Help with porting BlockPhysics mod from 1.6.2 to 1.12.
you get the facing form the blockstate but something else, BlockPhysics is using a lot of ASM hacks. do you know how ASM works if not please stop.
-
Forge 1.12.2 Seems to return errors with certain Mods
try adding https://minecraft.curseforge.com/projects/craftstudio-api
-
how to make and .smd file parser for forge
https://github.com/qdlmcfresh/smdimp/blob/master/JME20_SMD/src/com/base/model/parser/SMDParser.java google is your best friend use and abuse it
-
[1.12.2] How to check for when a player gets a potion effect, and when it wears off
the pr is in now https://github.com/MinecraftForge/MinecraftForge/commit/2a5268c6993f2de7612789bfac2b674d04c87e89
-
how to make minecraft edits into a version
you dont edit clean the clean needs to be there so gradle can make the patches
-
Problem with custom furnace
hint: block
-
Luminous Block
dont look at optifine it really hacks into the forge render stuff dont use it
-
Check if MainHand is null to use autoclick right
what mc version are you modding
-
OptiFine development
there is none forgegradle is getting a rewrite https://github.com/amadornes/ForgeGradle that needs to be done first
IPS spam blocked by CleanTalk.