martiblq
Members-
Posts
27 -
Joined
-
Last visited
Everything posted by martiblq
-
block models: I don't really have blockstate. would it look like the normal ones?
-
First time making a custom block model so things went wrong : D. The item model is fine because i can see it properly in my inventory, hand, item frame and etc. When I place it tho it has no texture(the purple black stuff). The model kinda looks like a cauldrin so it has empty space between the 4 legs and when i tried breaking a block under it it worked. So the model works, but there are no texture. This is the class.
-
How to make the block not able to place blocks around it
martiblq replied to martiblq's topic in Modder Support
That worked! Thank you! -
How to make the block not able to place blocks around it
martiblq replied to martiblq's topic in Modder Support
the event the block i want it so if you rightclick on the block you don't place blocks -
1.15.I want my block(i'll call it x) to consume whatever block im rightclicking with. i already did the consuming part but if you right click with a block it consumes one and places one next to x. how can i make it so you cant use x to place blocks near it?
-
How to check what block the player is looking at?
martiblq replied to martiblq's topic in Modder Support
this is the code for the held item. i can't just paste it in the block -
How to check what block the player is looking at?
martiblq replied to martiblq's topic in Modder Support
I want to get an item in my inventory when i rightclick a specific block with a specigic item. I did the item part with an if in an event class. Can i put another if inside the first one that checks if the block is the right one? -
How to check what block the player is looking at?
martiblq replied to martiblq's topic in Modder Support
is thet how the crafting table do it? -
Minecraft Forge 1.12.2 crash when started with mods
martiblq replied to linus.kluener's topic in Support & Bug Reports
1.12 is not suported so i don't know if you'll get an answer : ( -
The version is 1.15. I want something to happen when the block the player is looking at is the same as whatever block. So it would be somethis like this if(the block the player is looking at == Blocks.a block) { } I just don't know how to check.
-
How do i check if a block is rightclicked in an event class?
martiblq replied to martiblq's topic in Modder Support
i mean in an if. how do i check if the block im righ clicking at is == to another -
The title says it all
-
How do I make an item that when used gives another item?
martiblq replied to martiblq's topic in Modder Support
Can you show me what is wrong with the onItemUseFinished?Can you show me how it must be? -
How do I make an item that when used gives another item?
martiblq replied to martiblq's topic in Modder Support
where can i find the class for the soup item? -
How do I make an item that when used gives another item?
martiblq replied to martiblq's topic in Modder Support
so it returns the bowl but now it doesn't feed you. here is item init and here is the class -
How do I make an item that when used gives another item?
martiblq replied to martiblq's topic in Modder Support
Oh my god... I feel so dumb right now. Thanks! -
Basicly like mushroom stew. When it's used (eaten) to give the bowl back. I saw online to use "return new ItemStack(Items.BOWL);" but it says "Unreachable code". Here is the hole thing: package com.martiblq.stew_mod.objects.items; import net.minecraft.entity.LivingEntity; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.item.Items; import net.minecraft.world.World; public class BabyYodaStew extends Item { public BabyYodaStew(Properties properties) { super(properties); } @Override public ItemStack onItemUseFinish(ItemStack stack, World worldIn, LivingEntity entityLiving) { return super.onItemUseFinish(stack, worldIn, entityLiving); return new ItemStack(Items.BOWL); } }
-
in which package* do i make it?
-
@EventBusSubscriber(modid = Testing.MOD_ID, bus = Bus.MOD) @ObjectHolder(Testing.MOD_ID) public class iteminit { public static final Item test_item = null; @SubscribeEvent public static void registerItems(final RegistryEvent.Register<Item> event) { event.getRegistry().register(new Item(new Item.Properties().group(testingItemGroup.instance)).setRegistryName("test_item").hasEffect(stack)); } }
-
I know but it says that I should make a variable or a field
-
I just want it to glow. Nothing else. Here is the iteminit for the item event.getRegistry().register(new Item(new Item.Properties().group(washingmodItemGroup.instance)).setRegistryName("test_item"));
-
I'm on 1.15.2 and I saw that I have to use .hasEffect(ItemStack stack) but it says that I have to create a class. Do I use null instead of ItemStack stack?
-
Oh my god thank you. I didn't knew I can't use uppercase letters. thanks again
-
but I don't have a sound.json