-
Adding harvest level/tool type
nevermind, i figured it out. delete or lock the topic.
-
Adding harvest level/tool type
I'm trying to make it so that my modded block "ruby_block" is harvestable with an iron pickaxe or above, amd i believe it is done like this? event.getRegistry().register(new Block(Block.Properties.create(Material.IRON).hardnessAndResistance(5.0f, 6.0f).sound(SoundType.METAL).harvestLevel(2).harvestTool(null)).setRegistryName("ruby_block")); and i think something must replace null for it to work properly? what would go there? Thanks for helpin
-
Stuck on launching screen?
changed every instance of SCM_Craft in file names to scmcraft and it worked. Thank you so much!
-
Stuck on launching screen?
-
Stuck on launching screen?
In src/main/resources, I have package "assets.SCMCraft" and folder "META-INF". within the folder i have "mods.toml".
-
Stuck on launching screen?
Yes
-
Stuck on launching screen?
https://paste.gg/p/anonymous/3ca4b9474119480889df2116147d4d36 from my mod folder run/logs. sorry, im new to this. its a lot longer, even though it was only one launch.
-
Stuck on launching screen?
https://pastebin.com/1c74Npu4 Named "Silverbeam's Debug log 3/25/20".
-
Stuck on launching screen?
So i started modding 1.15.1, and after setting up the workplace, i launched my client to make sure everything is functioning properly. However, after going through the FML early loading process, it gets stuck at the minecraft loading screen. after a while, it will finish loading, show a menu with boxes instead of letters, and then load again, show the screen again, and loop. Any help?
-
If 1.12.2 is no longer supported here, is there anywhere else i can go?
I'll delete this after I get a reply
-
Silverbeam changed their profile photo
-
Mana Capability Not Functioning Properly
In my mod, I have mana implemented. . However, you can gain 50 mana by right clicking on a bed. I have a weapon that, when you right click, consumes 50 mana and spawns EntityLargeFireball. If your mana is less than 50, then a line of text appears in chat. However, for some reason you are able to spawn multiple Fireballs when you shouldn't be able to. For example, if i had 150 mana, I should be able to spawn 3 fireballs, but instead it spawns anywhere from 3 to maybe 8. Once mana reaches 0, the text appears as it should. However, once mana goes back up, the fireball doesn't spawn and the text still occurs. Here is the code that is in the weapon. Can anyone help? ______________________________________________________________________________________________________________________________________________________________________________________ @Override public ActionResult<ItemStack> onItemRightClick(World worldIn, EntityPlayer playerIn, EnumHand handIn) { if(playerIn.hasCapability(ManaProvider.MANA_CAP, null)) { if(playerIn.getCapability(ManaProvider.MANA_CAP, null).consume(50f)) { playerIn.addPotionEffect(new PotionEffect(MobEffects.RESISTANCE, 5, 1000)); Minecraft.getMinecraft().world.spawnEntity(new EntityLargeFireball(Minecraft.getMinecraft().world, playerIn.posX, playerIn.posY, playerIn.posZ, 3d, 0d, 3d)); } else { playerIn.sendMessage(new TextComponentString("FUCK YOU, DIP DIP")); } } _____________________________________________________________________________________________________________________________________________________________________________________
IPS spam blocked by CleanTalk.