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
  • [NoOneButNo]

[NoOneButNo]

Members
 View Profile  See their activity
  • Content Count

    80
  • Joined

    May 8, 2017
  • Last visited

    July 4, 2020
  • Days Won

    1

 Content Type 

  • All Activity

Profiles

  • Status Updates
  • Status Replies

Forums

  • Topics
  • Posts

Calendar

  • Events

Everything posted by [NoOneButNo]

  • Prev
  • 1
  • 2
  • 3
  • 4
  • Next
  • Page 1 of 4  
  1. [NoOneButNo]

    Which method should I use to apply a potion effect to an entity?

    [NoOneButNo] replied to General_Ganon's topic in Modder Support

    Just use entity.addPotionEffect that takes in an EffectInstance as its parameter.
    • June 24, 2020
    • 2 replies
  2. [NoOneButNo]

    Adding Tag to Entity

    [NoOneButNo] replied to craytona's topic in Modder Support

    Search for class EntityTypeTags. This should help you. Also, it should (disclaimer: i didn't bother to try) work the same way as how this docs tell you how to use tags: https://mcforge.readthedocs.io/en/latest/utilities/tags/
    • June 24, 2020
    • 1 reply
  3. [NoOneButNo]

    [1.15.2] How to tint fluids depending on the biome

    [NoOneButNo] replied to App24's topic in Modder Support

    Try reading this: (note that it doesn't make use of an event) https://mcforge.readthedocs.io/en/latest/models/color/
    • June 24, 2020
    • 4 replies
  4. [NoOneButNo]

    DeferredRegistries vs Registry Event Questions

    [NoOneButNo] replied to Daniel Rollins's topic in Modder Support

    They are just the same. Use whichever you want you find comfortable with.
    • June 24, 2020
    • 3 replies
  5. [NoOneButNo]

    Custom Entity spawns as a Pig

    [NoOneButNo] replied to _vertig0's topic in Modder Support

    Here's an example of how you override things: @ObjectHolder("minecraft:quick_charge") public static final Enchantment QUICK_CHARGE = null; @SubscribeEvent public void onRegistry(RegistryEvent.Register<Enchantment> reg){ //note: The class that you are using should be the one you made for the Enchantment Quickcharge. Enchantment class is an abstract class. reg.getRegistry().register(new Enchantment().setRegistryName(new ResourceLocation("minecraft", "quick_charge"))); } Same thing applies for entity types, etc.
    • June 21, 2020
    • 23 replies
  6. [NoOneButNo]

    Custom Entity spawns as a Pig

    [NoOneButNo] replied to _vertig0's topic in Modder Support

    I don't know why you have so many hacks set when its not even needed. You even overrided the vanilla enchantments and item wrong. take a look at choonster's github. https://github.com/Choonster-Minecraft-Mods/TestMod3/tree/1.14.4/src/main/java/choonster.
    • June 21, 2020
    • 23 replies
  7. [NoOneButNo]

    Custom Entity spawns as a Pig

    [NoOneButNo] replied to _vertig0's topic in Modder Support

    No need.
    • June 21, 2020
    • 23 replies
  8. [NoOneButNo]

    Remove durability when right clicking an item

    [NoOneButNo] replied to Akira's topic in Modder Support

    Things like this can easily be seen through vanilla classes. Before you actually start asking very basic questions like this, you can actually try to look at how vanilla does its mechanic. For example, in this case, look at ItemStack.class.
    • June 19, 2020
    • 4 replies
  9. [NoOneButNo]

    Custom Entity spawns as a Pig

    [NoOneButNo] replied to _vertig0's topic in Modder Support

    I won't say its little cluttered, its damn as hell as cluttered as it can be. I will be analysing this but don't expect a fast reply soon.
    • June 19, 2020
    • 23 replies
  10. [NoOneButNo]

    Custom Entity spawns as a Pig

    [NoOneButNo] replied to _vertig0's topic in Modder Support

    Post your code on github. I will look into it.
    • June 19, 2020
    • 23 replies
  11. [NoOneButNo]

    [SOLVED] "model missing for variant" exception

    [NoOneButNo] replied to Bauzli's topic in Modder Support

    Sounds like you need to learn inheritance some more. This is actually basic polymorphism...
    • June 18, 2020
    • 14 replies
  12. [NoOneButNo]

    [SOLVED] "model missing for variant" exception

    [NoOneButNo] replied to Bauzli's topic in Modder Support

    public class RotatedPillarBlock extends Block { public static final EnumProperty<Direction.Axis> AXIS = BlockStateProperties.AXIS; public RotatedPillarBlock(Block.Properties properties) { super(properties); this.setDefaultState(this.getDefaultState().with(AXIS, Direction.Axis.Y)); } /** * Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed * blockstate. * @deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is * fine. */ public BlockState rotate(BlockState state, Rotation rot) { switch(rot) { case COUNTERCLOCKWISE_90: case CLOCKWISE_90: switch((Direction.Axis)state.get(AXIS)) { case X: return state.with(AXIS, Direction.Axis.Z); case Z: return state.with(AXIS, Direction.Axis.X); default: return state; } default: return state; } } protected void fillStateContainer(StateContainer.Builder<Block, BlockState> builder) { builder.add(AXIS); } public BlockState getStateForPlacement(BlockItemUseContext context) { return this.getDefaultState().with(AXIS, context.getFace().getAxis()); } } This is an example of a vanilla block that implements it. Take your time and read it meanwhile Im gonna go get some sleep.
    • June 18, 2020
    • 14 replies
  13. [NoOneButNo]

    [SOLVED] [1.15.2] Issues with entity rotationPitch

    [NoOneButNo] replied to Novârch's topic in Modder Support

    You can try to reference the pitch by "call hierarchy". See if there is something that snaps it back to zero in vanilla classes.
    • June 18, 2020
    • 3 replies
      • 1
      • Like
  14. [NoOneButNo]

    [SOLVED] "model missing for variant" exception

    [NoOneButNo] replied to Bauzli's topic in Modder Support

    Yes since you are not overriding the vanilla class responsible for that blockstate. Edit: Extending. Or making a new one while implementing that blockstate.
    • June 18, 2020
    • 14 replies
  15. [NoOneButNo]

    [SOLVED] "model missing for variant" exception

    [NoOneButNo] replied to Bauzli's topic in Modder Support

    Sounds like you did not properly implemented your blockstate "axis".
    • June 18, 2020
    • 14 replies
  16. [NoOneButNo]

    Crashed

    [NoOneButNo] replied to Adrianmg17's topic in Support & Bug Reports

    1.12.2 is no longer supported on this forum. Update to modern minecraft (1.14.4+) versions to receive support.
    • June 18, 2020
    • 1 reply
  17. [NoOneButNo]

    [SOLVED] "model missing for variant" exception

    [NoOneButNo] replied to Bauzli's topic in Modder Support

    What is the name of your json files? and the full log?
    • June 18, 2020
    • 14 replies
  18. [NoOneButNo]

    Fatally missing registry entries

    [NoOneButNo] replied to Alfa Enddani's topic in Support & Bug Reports

    1.12.2 is no longer supported on this forum. Update your minecraft to modern versions to recieve support.
    • June 18, 2020
    • 3 replies
  19. [NoOneButNo]

    [SOLVED] [1.15.2] Issues with entity rotationPitch

    [NoOneButNo] replied to Novârch's topic in Modder Support

    Try to make a dummy packet that changes the pitch. If it doesn't...
    • June 18, 2020
    • 3 replies
  20. [NoOneButNo]

    Suggestions on ID manipulation? (modding 1.7.10)

    [NoOneButNo] replied to milii_as's topic in Modder Support

    1.7.10 is no longer supported on this forum. Please update to modern versions to receive support. Welp that said I can't close this thread.
    • June 18, 2020
    • 1 reply
      • 1
      • Sad
  21. [NoOneButNo]

    [1.15.2] Why does this not change my velocity?

    [NoOneButNo] replied to TallYate's topic in Modder Support

    ctx.get().enqueueWork(() -> { This should be always the first one.
    • June 18, 2020
    • 2 replies
  22. [NoOneButNo]

    Custom Entity spawns as a Pig

    [NoOneButNo] replied to _vertig0's topic in Modder Support

    You are registering your entity types wrong. You don't initialize them via static intiializer. You use ObjectHolder (DeferredRegistry also works). Since you are OVERRIDING a vanilla entity, you match the object holder's string parameter with the desired minecraft id you want to override with.
    • June 18, 2020
    • 23 replies
  23. [NoOneButNo]

    issues with keybinding 1.15.2

    [NoOneButNo] replied to greenecojr's topic in Modder Support

    Sounds something relating to data packs (at least that's what happen when I got that crash).
    • June 18, 2020
    • 3 replies
  24. [NoOneButNo]

    Custom Entity spawns as a Pig

    [NoOneButNo] replied to _vertig0's topic in Modder Support

    Here read this. https://mcforge.readthedocs.io/en/latest/concepts/registries/
    • June 18, 2020
    • 23 replies
  25. [NoOneButNo]

    [1.15.2] Make server summon entity based on client

    [NoOneButNo] replied to TallYate's topic in Modder Support

    Never trust the client. Just send a packet (like what you are doing) and do the check in the packet itself.
    • June 17, 2020
    • 29 replies
  • Prev
  • 1
  • 2
  • 3
  • 4
  • Next
  • Page 1 of 4  
  • All Activity
  • Home
  • [NoOneButNo]
  • Theme

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