Jump to content
  • Home
  • Files
  • Docs
Status Updates
  • All Content

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Harry12OK

Harry12OK

Members
 View Profile  See their activity
  • Content Count

    17
  • Joined

    April 24, 2020
  • Last visited

    August 3, 2020

Community Reputation

1 Neutral

About Harry12OK

  • Rank
    Tree Puncher

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Harry12OK

    (Question)How to make mod to be exclusive for only one map.

    Harry12OK replied to Harry12OK's topic in Modder Support

    Ok my bad English isn't my first language. Ok so this was workaround Can you elaborate how could I detect a specific map ?
    • August 3, 2020
    • 5 replies
  2. Harry12OK

    (Question)How to make mod to be exclusive for only one map.

    Harry12OK replied to Harry12OK's topic in Modder Support

    So is there any work around for my concern ?
    • August 3, 2020
    • 5 replies
  3. Harry12OK started following Need Suggestions regarding my texture, (Question)How to make mod to be exclusive for only one map., [1.15.2] Rotating block to face while placing and and 1 other August 3, 2020
  4. Harry12OK

    (Question)How to make mod to be exclusive for only one map.

    Harry12OK posted a topic in Modder Support

    So I have been making a map for it I need custom behaviours and custom blocks and entities. But is there any way in forge framework to enable the mod to run only one with that map ,certainly because I don't want my custom items and entities to appear in other map's inventory.
    • August 3, 2020
    • 5 replies
  5. Harry12OK

    [1.15.2] Rotating block to face while placing

    Harry12OK replied to Harry12OK's topic in Modder Support

    Guys it was a small mistake in blockstate file i was extering 'Y' instead of 'y' that was causing problem ,now it's fixed. but there is one more thing i want to ask. see this image: You can see my block is rotating as i have created a semicircle but the problem now is if i want to rotate the block in such a way that a full circle can be made with it in above image. is there any way to do it or is there any vanilla block with this behaviour so i can copy its block state file .
    • July 25, 2020
    • 5 replies
  6. Harry12OK

    [1.15.2] Rotating block to face while placing

    Harry12OK replied to Harry12OK's topic in Modder Support

    No, it doesnt change ,it is same no matter from wherever direction i place I have specified it in blockstate file .here see it { "variants":{ "facing=north": {"model": "hogwarts:block/half"}, "facing=south": { "model":"hogwarts:block/half", "Y" : 180}, "facing=west": { "model":"hogwarts:block/half", "Y" : 270}, "facing=east": { "model":"hogwarts:block/half", "Y" : 90} } } Now i cant undertand what do you mean by debug screen ?
    • July 25, 2020
    • 5 replies
  7. Harry12OK

    [1.15.2] Rotating block to face while placing

    Harry12OK posted a topic in Modder Support

    I created a custom model in blockbench and followed a tutorial on rotating the block to my face while placing but still it is not rotating to my face . My code is public class Half extends Block { private static final DirectionProperty FACING = HorizontalBlock.HORIZONTAL_FACING; private static final SoundType RS = SoundType.STONE; public Half() { super(Block.Properties.create(Material.IRON).harvestTool(ToolType.PICKAXE).harvestLevel(2).lightValue(15).hardnessAndResistance(2.0f, 2.0f).sound(RS)); } @Override public BlockState getStateForPlacement(BlockItemUseContext context) { return this.getDefaultState().with(FACING, context.getPlacementHorizontalFacing().getOpposite()); } @Override public BlockState rotate(BlockState state, Rotation rot) { return state.with(FACING, rot.rotate(state.get(FACING))); } @Override public BlockState mirror(BlockState state, Mirror mirrorIn) { return state.rotate(mirrorIn.toRotation(state.get(FACING))); } @Override protected void fillStateContainer(Builder<Block, BlockState> builder) { builder.add(FACING); } } any help to why is it not working ?
    • July 25, 2020
    • 5 replies
  8. Harry12OK

    [1.15.2]Creating custom slabs explanation

    Harry12OK replied to Harry12OK's topic in Modder Support

    So i looked into vanilla slabs and did the same as vanilla ones and extended SlabBlock class and it worked .Thank you sir
    • July 24, 2020
    • 2 replies
  9. Harry12OK

    [1.15.2]Creating custom slabs explanation

    Harry12OK posted a topic in Modder Support

    So I was creating something and I needed a custom slab for that thing .I just know how create items and blocks. But I suppose slabs will not be like block because it have various variants.i need help on how to create it. Please give some explanation also I am new
    • July 23, 2020
    • 2 replies
  10. Harry12OK

    Need Suggestions regarding my texture

    Harry12OK posted a topic in Minecraft General

    Hey guys i created this texture which i dont know if looks like dirt or carpet.Give me some suggestions regarding if it looks like to you dirt or carpet?
    • May 3, 2020
    • 1 reply
  11. Harry12OK

    How to exactly use IItemTier [1.15.2]

    Harry12OK replied to Harry12OK's topic in Modder Support

    Thank you.
    • April 29, 2020
    • 15 replies
  12. Harry12OK

    How to exactly use IItemTier [1.15.2]

    Harry12OK replied to Harry12OK's topic in Modder Support

    Do i have right to close this topic?
    • April 29, 2020
    • 15 replies
  13. Harry12OK started following diesieben07 April 28, 2020
  14. Harry12OK

    How to exactly use IItemTier [1.15.2]

    Harry12OK replied to Harry12OK's topic in Modder Support

    I will fix it .Actually my brain was cooked up. I did it for testing because i thought it would not work. and i mistakenly reported your comment by seeing report post as reply to this post..
    • April 28, 2020
    • 15 replies
  15. Harry12OK

    How to exactly use IItemTier [1.15.2]

    Harry12OK replied to Harry12OK's topic in Modder Support

    thank You guys. I figured out and create my material. Bascially what i did was created a new class for my new material and implemented IItemTier and then did like the vanilla code. here is my code ===> public enum ToolMaterial implements IItemTier{ RUBY(3, 1000, 5.0f, 9.0f, 10, () -> { return Ingredient.fromItems(ModItems.RUBY.get()); }); private final int A; private final int B; private final float C; private final float D; private final int E; private final LazyValue<Ingredient> f; private ToolMaterial(int i, int j, float f, float g, int k, Supplier<Ingredient> object) { this.A = i; this.B = j; this.C = f; this.D = g; this.E = k; this.f = new LazyValue<>(object); } @Override public int getMaxUses() { return this.B; } @Override public float getEfficiency() { return this.C; } @Override public float getAttackDamage() { return this.D; } @Override public int getHarvestLevel() { return this.A; } @Override public int getEnchantability() { return this.E; } @Override public Ingredient getRepairMaterial() { return this.f.getValue(); } }
    • April 28, 2020
    • 15 replies
      • 1
      • Thanks
  16. Harry12OK

    How to exactly use IItemTier [1.15.2]

    Harry12OK replied to Harry12OK's topic in Modder Support

    But IItemTier is an interface.It isn't a class.How am i supposed to pass an instance of it.I could only implement it. Sorry if i asked some foolish thing,i just have knowledge of basic core java.
    • April 28, 2020
    • 15 replies
  17. Harry12OK started following DavidM April 28, 2020
  18. Harry12OK

    How to exactly use IItemTier [1.15.2]

    Harry12OK replied to Harry12OK's topic in Modder Support

    So isn't there any functionality like Enumhelper that would reduce the code. So what should i do?
    • April 28, 2020
    • 15 replies
  • All Activity
  • Home
  • Harry12OK
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community