Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Minecraft Forge
  • Support & Bug Reports
  • Exception getting block type in world/serveur
The update for 1.13 is being worked on - please be patient. (Updated 02/19/19)
Sign in to follow this  
Followers 1
Weedz

Exception getting block type in world/serveur

Started by Weedz, January 16

2 posts in this topic

Weedz    0

Weedz

Weedz    0

  • Tree Puncher
  • Weedz
  • Members
  • 0
  • 1 post
  • Report post
Posted January 16
Hi all, here I have a little trouble my server go great until I restart it, I'm on FTB space astronomy

 

thanks you for your help

 

here is crash report ;

 

 

crash-2019-01-16_14.47.03-server.txt

Share this post


Link to post
Share on other sites

Cadiboo    145

Cadiboo

Cadiboo    145

  • World Shaper
  • Cadiboo
  • Members
  • 145
  • 2118 posts
  • Report post
Posted January 17

Seems to be a problem with immersiveengineering. Make sure you have the latest vesion, and if you do and the problem persists contact the mod dev

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 1
Go To Topic Listing Support & Bug Reports

  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • wilechaote
      Local ForgeGradle build dependency caching

      By wilechaote · Posted just now

      Quickly FTR, my working approach for this is to use the possibility to globally override the gradle properties: In build.gradle: buildscript { repositories { jcenter() maven { url = "${forge_maven_repository}" } } dependencies { classpath "${forge_gradle_classpath}" } } In gradle.properties: forge_maven_repository=http://files.minecraftforge.net/maven forge_gradle_classpath=net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT These are then changed to a "file://" location in a local GIT repository containing the downloaded files. However, this might not yet be enough, as further resources appear to be loaded. More introspection needed here ;). [is there a way to move this thread to the ForgeGradle sub forum? I accidentally posted this here]?
    • Draco18s
      [1.13.2] how do i load my my custom block-models?

      By Draco18s · Posted 9 minutes ago

      Yes. Evertything is automatic.
    • Mango106
      food item doesn't restore hunger or saturation

      By Mango106 · Posted 21 minutes ago

      I made a bowl food item called fruit_salad, but when eat it, it doesn't restore any hunger or saturation.   I have a class that i created to add food items to my mod called FoodBase.java (code for that file below)   package com.citrine.testmod.items.food; import com.citrine.testmod.Main; import com.citrine.testmod.init.ModItems; import com.citrine.testmod.util.IHasModel; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.ItemFood; public class FoodBase extends ItemFood implements IHasModel { public FoodBase(String name, int amount, float saturation, boolean isAnimalFood) /* * amount is shanks filled * saturation is saturation * isAnimalFood determines whether or not you can feed it to dogs * */ { super(amount, saturation, isAnimalFood); setUnlocalizedName(name); setRegistryName(name); setCreativeTab(CreativeTabs.FOOD); ModItems.ITEMS.add(this); } @Override public void registerModels() { Main.proxy.registerItemRenderer(this, 0, "inventory"); } }   I use this class for adding normal food in my ModItems.java class in the init package. I wanted to add bowl items, that can only stack to one, and return a bowl to the player's inventory when eaten, so i made a new class that extends FoodBase called SoupBase.java (code below)   package com.citrine.testmod.items.food; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.world.World; import net.minecraftforge.items.ItemHandlerHelper; public class SoupBase extends FoodBase { private Item ReturnStack; public SoupBase(String name, int amount, float saturation, boolean isAnimalFood, Item item) { super(name, amount, saturation, isAnimalFood); this.setMaxStackSize(1); this.ReturnStack = item; } public ItemStack onItemUseFinish(ItemStack stack, World world, EntityLivingBase living) { super.onFoodEaten(stack, world, (EntityPlayer)living); return new ItemStack(ReturnStack); } }   Now that i did that, i added a new SoupBase item called fruit_salad in ModItems.java   public static final Item FRUIT_SALAD = new SoupBase("fruit_salad", 11, 6.6f, false, Items.BOWL);   Heres the full ModItems.java class:   package com.citrine.testmod.init; import java.util.ArrayList; import java.util.List; import com.citrine.testmod.items.ItemBase; import com.citrine.testmod.items.armor.ArmorBase; import com.citrine.testmod.items.food.FoodBase; import com.citrine.testmod.items.food.FoodEffectBase; import com.citrine.testmod.items.food.SoupBase; import com.citrine.testmod.items.tools.ToolAxe; import com.citrine.testmod.items.tools.ToolHoe; import com.citrine.testmod.items.tools.ToolPickaxe; import com.citrine.testmod.items.tools.ToolSpade; import com.citrine.testmod.items.tools.ToolSword; import com.citrine.testmod.util.Reference; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.Items; import net.minecraft.init.MobEffects; import net.minecraft.init.SoundEvents; import net.minecraft.inventory.EntityEquipmentSlot; import net.minecraft.item.Item; import net.minecraft.item.Item.ToolMaterial; import net.minecraft.item.ItemArmor.ArmorMaterial; import net.minecraft.item.ItemAxe; import net.minecraft.item.ItemHoe; import net.minecraft.item.ItemPickaxe; import net.minecraft.item.ItemSpade; import net.minecraft.item.ItemStack; import net.minecraft.item.ItemSword; import net.minecraft.potion.PotionEffect; import net.minecraft.world.World; import net.minecraftforge.common.util.EnumHelper; public class ModItems { public static final List<Item> ITEMS = new ArrayList<Item>(); //Materials public static final ToolMaterial MATERIAL_AQUAMARINE = EnumHelper.addToolMaterial("material_aquamarine", 3, 2124, 9.0f, 4.0f, 25); public static final ArmorMaterial ARMOR_MATERIAL_SUGILITE = EnumHelper.addArmorMaterial("armo r_material_sugilite", Reference.MOD_ID + ":sugilite", 15, new int[] {3, 7, 9, 4} , 10, SoundEvents.ITEM_ARMOR_EQUIP_DIAMOND, 0.0f); //add items public static final Item SUGILITE = new ItemBase("sugilite"); public static final Item URANIUM = new ItemBase("uranium"); public static final Item URANIUM_SUGILITE_FUSION = new ItemBase("uranium_sugilite_fusion"); public static final Item AQUAMARINE = new ItemBase("aquamarine"); //food //public static final Item BLUEBERRY = new FoodBase("blueberry", 3, 4.0f, false); (60*20 is one minute of ppotion effect) public static final Item BLUEBERRY = new FoodEffectBase ("blueberry", 3, 2.0f, false, new PotionEffect(MobEffects.SPEED, /*how long its lasts(3 seconds)*/(3*20),/*potion effect lvl*/ 2, /*whether or not it comes from a beacon*/false, /*shows whether or not particles are shown*/false)); public static final Item POO = new FoodEffectBase ("poo", 3, 0.0f, false, new PotionEffect(MobEffects.HUNGER, (12*20), 100, false, true)); public static final Item FISH_AND_CHIPS = new FoodBase("fish_and_chips", 10, 12.8f, false); public static final Item FRIED_EGG = new FoodBase("fried_egg", 5, 6, false); //public static final Item FRUIT_SALAD = new SoupBase("fruit_salad", 11, 6.6f, false), onFoodEaten(ItemStack stack, World worldIn, EntityPlayer player); public static final Item FRUIT_SALAD = new SoupBase("fruit_salad", 11, 6.6f, false, Items.BOWL); //Tools public static final ItemSword AQUAMARINE_SWORD = new ToolSword("aquamarine_sword", MATERIAL_AQUAMARINE); public static final ItemSpade AQUAMARINE_SHOVEL = new ToolSpade("aquamarine_shovel", MATERIAL_AQUAMARINE); public static final ItemPickaxe AQUAMARINE_PICKAXE = new ToolPickaxe("aquamarine_pickaxe", MATERIAL_AQUAMARINE); public static final ItemAxe AQUAMARINE_AXE = new ToolAxe("aquamarine_axe", MATERIAL_AQUAMARINE); public static final ItemHoe AQUAMARINE_HOE = new ToolHoe("aquamarine_hoe", MATERIAL_AQUAMARINE); //armor public static final Item SUGILITE_HELMET = new ArmorBase("sugilite_helmet", ARMOR_MATERIAL_SUGILITE, 1, EntityEquipmentSlot.HEAD); public static final Item SUGILITE_CHESTPLATE = new ArmorBase("sugilite_chestplate", ARMOR_MATERIAL_SUGILITE, 1, EntityEquipmentSlot.CHEST); public static final Item SUGILITE_LEGGINGS = new ArmorBase("sugilite_leggings", ARMOR_MATERIAL_SUGILITE, 2, EntityEquipmentSlot.LEGS); public static final Item SUGILITE_BOOTS = new ArmorBase("sugilite_boots", ARMOR_MATERIAL_SUGILITE, 1, EntityEquipmentSlot.FEET); }   When I run client and test out the mod, I can eat the fruit salad, it stacks to 1 like i wanted, and it returns a bowl when its eaten. The only problem is that no hunger or saturation is restored when i eat it, for some reason. I'm quite sure what i did wrong, but I think it has something to do with SoupBase.java, as I don't have this problem with the normal class that it extends from. Does anyone know how to fix this?
    • Drachenbauer
      [1.13.2] How do i setup a block propertys constructor in a blockbase?

      By Drachenbauer · Posted 25 minutes ago

      how do you set the mapColor I cannot add this to the properties in the line of the block in the blockinit: properties.mapColor It says, this is undefined...
    • BeardlessBrady
      [1.12] Making a TESR less laggy

      By BeardlessBrady · Posted 32 minutes ago

      I know thats the problem. Im asking if you know of a more efficient way to implement it. And I will look into the FastTESR thank you.   Basically I want to render the inventory of the block in-world in the model. The apples are just temporary till I get the render working.
  • Topics

    • Drachenbauer
      8
      [1.13.2] how do i load my my custom block-models?

      By Drachenbauer
      Started Monday at 08:52 PM

    • Mango106
      0
      food item doesn't restore hunger or saturation

      By Mango106
      Started 21 minutes ago

    • Drachenbauer
      5
      [1.13.2] How do i setup a block propertys constructor in a blockbase?

      By Drachenbauer
      Started Yesterday at 05:16 PM

    • BeardlessBrady
      2
      [1.12] Making a TESR less laggy

      By BeardlessBrady
      Started 2 hours ago

    • Drachenbauer
      9
      Error with block registration

      By Drachenbauer
      Started 20 hours ago

  • Who's Online (See full list)

    • trexxet
    • mylifeisajoke
    • Drachenbauer
    • wilechaote
    • Draco18s
    • Mango106
    • DutchM
    • MoeBoy76
    • That_Martin_Guy
    • desht
  • All Activity
  • Home
  • Minecraft Forge
  • Support & Bug Reports
  • Exception getting block type in world/serveur
  • Theme
  • Contact Us

Copyright © 2017 ForgeDevelopment LLC Powered by Invision Community