mcDandy
Members-
Posts
13 -
Joined
-
Last visited
Everything posted by mcDandy
-
[1.15.2] How do I create custom point of interest for portal?
mcDandy replied to mcDandy's topic in Modder Support
Still nether portal. I have probably still missed something. -
[1.15.2] How do I create custom point of interest for portal?
mcDandy replied to mcDandy's topic in Modder Support
thank you -
[1.15.2] How do I create custom point of interest for portal?
mcDandy replied to mcDandy's topic in Modder Support
Here it teleporter class And portal block class just in case I wanted them to function just like nether portal (find surface, build structure, link portals) -
Thank you. I thought I was registring it even capabilitie´s register method was net getting used.
-
I am getting NPE when trying to get capability. I changed line 19 to lambda becouse it was crashing there with another NPE. What should I do to fix this one? https://github.com/mcDandy/Winks-mod/blob/9808257e01ba70048d0228e2eb0b7013900ea2b1/src/main/java/cz/mcDandy/winksmod/Capabilities/FairyEnergyCapability.java#L29crash-2020-06-07_11.11.17-server.txt
-
Thank you.
-
what should set enumName to? Am I right with "FillerBlockType"?
-
I do not know what to do with it... I will probably need to override it, but with what? Calling it directly is nonsense. sorry. I am complete noob with this.
-
only promising is private FillerBlockType(String p_i50618_3_, Predicate<BlockState> p_i50618_4_) { this.field_214742_d = p_i50618_3_; this.field_214743_e = p_i50618_4_; } which is not accessible. or public static FillerBlockType create(String enumName, String p_i50618_3_, Predicate<BlockState> p_i50618_4_) { throw new IllegalStateException("Enum not extended"); } which is probably only there for erroring out.
-
Thx. I will look on java forums how to add to enum.
-
I have created dimension entirly of packed_ice and I want to generate ores there. I am using forge for 1.15.2
-
[1.15.2] Need help with registering my Dimension via DeferredRegister!
mcDandy replied to DragonITA's topic in Modder Support
try something like this. @Mod.EventBusSubscriber(modid="yourmodid", bus= Mod.EventBusSubscriber.Bus.FORGE) public class EventForge { public static final ResourceLocation DIMENSION_TYPE_RL = new ResourceLocation("yourmodid", "yourdimension"); @SubscribeEvent public static void onRegisterDimensionsEvent(RegisterDimensionsEvent event) { DimensionManager.registerDimension(DIMENSION_TYPE_RL, DIMENSION, null, false); } }