Jump to content

how to create an pillar block


bouwmeester2003

Recommended Posts

Like I told you before, please keep this forum in english.

 

You can extend BlockRotatedPillar to create a pillar block.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

10 hours ago, larsgerrits said:

Like I told you before

As I told you before

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

Your log should be telling you the problem, can you please post it?

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

my log: 

[14:47:19] [Client thread/INFO] [FML]: MinecraftForge v14.23.5.2784 Initialized
[14:47:19] [Client thread/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.
[14:47:19] [Client thread/INFO] [FML]: Replaced 1036 ore ingredients
[14:47:22] [Client thread/INFO] [FML]: Searching C:\Users\milan.000\Documents\MEGA\dreammod\run\.\mods for mods
[14:47:23] [Thread-3/INFO] [FML]: Using sync timing. 200 frames of Display.update took 189398482 nanos
[14:47:33] [Client thread/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
[14:47:35] [Client thread/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, dreammod] at CLIENT
[14:47:35] [Client thread/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, dreammod] at SERVER
[14:47:37] [Client thread/INFO] [minecraft/SimpleReloadableResourceManager]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:DreamMod
[14:47:38] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[14:47:38] [Client thread/INFO] [FML]: Found 1168 ObjectHolder annotations
[14:47:38] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[14:47:38] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[14:47:38] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[14:47:38] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json


[14:47:38] [Client thread/INFO] [STDOUT]: [com.CloudyProductions.DreamMod.util.DevMode:DevMode:11]: item: stick_cloud tab: com.CloudyProductions.DreamMod.objects.creativetabs.heaven.heaventools@1ab64f66


[14:47:39] [Client thread/INFO] [STDOUT]: [com.CloudyProductions.DreamMod.util.DevMode:DevMode:11]: item: cloud tab: com.CloudyProductions.DreamMod.objects.creativetabs.heaven.heavenitems@23595dd9


[14:47:39] [Client thread/INFO] [STDOUT]: [com.CloudyProductions.DreamMod.util.DevMode:DevMode:11]: name: block_cloud material: net.minecraft.block.material.Material@5a0d25ba tab: com.CloudyProductions.DreamMod.objects.creativetabs.heaven.heavenblocks@72e89ce2 sound: net.minecraft.block.SoundType@1bb6b0f3 hardness: 100.0 resistance: 1.8E7 toolclass: pickaxe level: 6 lightlevel: 0.0 lightpacity: 0 unbreakable: true drops: com.CloudyProductions.DreamMod.objects.items.ItemBase@2b4b3918 droptotal: com.CloudyProductions.DreamMod.objects.items.ItemBase@2b4b3918


[14:47:39] [Client thread/INFO] [STDOUT]: [com.CloudyProductions.DreamMod.util.DevMode:DevMode:11]: name: block_column_cloud material: net.minecraft.block.material.Material@5a0d25ba tab: com.CloudyProductions.DreamMod.objects.creativetabs.heaven.heavenblocks@72e89ce2 sound: net.minecraft.block.SoundType@1bb6b0f3 hardness: 100.0 resistance: 1.8E7 toolclass: pickaxe level: 6 lightlevel: 0.0 lightpacity: 0 unbreakable: true drops: com.CloudyProductions.DreamMod.objects.items.ItemBase@2e61695b droptotal: com.CloudyProductions.DreamMod.objects.items.ItemBase@2e61695b


[14:47:39] [Client thread/INFO] [STDOUT]: [com.CloudyProductions.DreamMod.util.DevMode:DevMode:11]: name: block_ore_cloud material: net.minecraft.block.material.Material@720f0fa2 tab: com.CloudyProductions.DreamMod.objects.creativetabs.heaven.heavenblocks@72e89ce2 sound: net.minecraft.block.SoundType@1bb6b0f3 hardness: 5.0 resistance: 50.0 toolclass: pickaxe level: 4 lightlevel: 1.0 lightpacity: 0 drops: com.CloudyProductions.DreamMod.objects.items.ItemBase@2b4b3918 droptotal: com.CloudyProductions.DreamMod.objects.items.ItemBase@2b4b3918


[14:47:39] [Client thread/INFO] [FML]: Applying holder lookups
[14:47:39] [Client thread/INFO] [FML]: Holder lookups applied
[14:47:39] [Client thread/INFO] [FML]: Applying holder lookups
[14:47:39] [Client thread/INFO] [FML]: Holder lookups applied
[14:47:39] [Client thread/INFO] [FML]: Applying holder lookups
[14:47:39] [Client thread/INFO] [FML]: Holder lookups applied
[14:47:39] [Client thread/INFO] [FML]: Applying holder lookups
[14:47:39] [Client thread/INFO] [FML]: Holder lookups applied
[14:47:39] [Client thread/INFO] [FML]: Injecting itemstacks
[14:47:39] [Client thread/INFO] [FML]: Itemstack injection complete
[14:47:40] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Found status: OUTDATED Target: 14.23.5.2796
[14:48:42] [Sound Library Loader/INFO] [minecraft/SoundManager]: Starting up SoundSystem...
[14:48:42] [Thread-5/INFO] [minecraft/SoundManager]: Initializing LWJGL OpenAL
[14:48:42] [Thread-5/INFO] [minecraft/SoundManager]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[14:48:45] [Thread-5/INFO] [minecraft/SoundManager]: OpenAL initialized.
[14:48:45] [Sound Library Loader/INFO] [minecraft/SoundManager]: Sound engine started
[14:48:54] [Client thread/INFO] [FML]: Max texture size: 16384
[14:48:56] [Client thread/INFO] [minecraft/TextureMap]: Created: 512x512 textures-atlas
[14:49:04] [Client thread/INFO] [FML]: Applying holder lookups
[14:49:04] [Client thread/INFO] [FML]: Holder lookups applied
[14:49:04] [Client thread/INFO] [FML]: Injecting itemstacks
[14:49:04] [Client thread/INFO] [FML]: Itemstack injection complete
[14:49:04] [Client thread/INFO] [STDOUT]: [com.CloudyProductions.DreamMod.Main:postInit:46]:
[14:49:04] [Client thread/INFO] [STDOUT]: [com.CloudyProductions.DreamMod.Main:postInit:47]:
[14:49:04] [Client thread/INFO] [STDOUT]: [com.CloudyProductions.DreamMod.Main:postInit:48]:
[14:49:04] [Client thread/INFO] [STDOUT]: [com.CloudyProductions.DreamMod.Main:postInit:49]:
[14:49:04] [Client thread/INFO] [STDOUT]: [com.CloudyProductions.DreamMod.Main:postInit:50]:
[14:49:04] [Client thread/INFO] [STDOUT]: [com.CloudyProductions.DreamMod.Main:postInit:51]: Mod Started
[14:49:04] [Client thread/INFO] [STDOUT]: [com.CloudyProductions.DreamMod.Main:postInit:52]:
[14:49:04] [Client thread/INFO] [STDOUT]: [com.CloudyProductions.DreamMod.Main:postInit:53]:
[14:49:04] [Client thread/INFO] [STDOUT]: [com.CloudyProductions.DreamMod.Main:postInit:54]:
[14:49:04] [Client thread/INFO] [STDOUT]: [com.CloudyProductions.DreamMod.Main:postInit:55]:
[14:49:04] [Client thread/INFO] [STDOUT]: [com.CloudyProductions.DreamMod.Main:postInit:56]:
[14:49:05] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 5 mods
[14:49:06] [Client thread/WARN] [minecraft/GameSettings]: Skipping bad option: lastServer:
[14:49:07] [Client thread/INFO] [mojang/NarratorWindows]: Narrator library for x64 successfully loaded
[14:49:13] [Realms Notification Availability checker #1/INFO] [mojang/RealmsClient]: Could not authorize you against Realms server: Invalid session id
[14:49:23] [Server thread/INFO] [minecraft/IntegratedServer]: Starting integrated minecraft server version 1.12.2
[14:49:23] [Server thread/INFO] [minecraft/IntegratedServer]: Generating keypair
[14:49:23] [Server thread/INFO] [FML]: Injecting existing registry data into this server instance
[14:49:23] [Server thread/INFO] [FML]: Registry Block: Found a missing id from the world dreammod:block_pilar_cloud
[14:49:24] [Server thread/INFO] [FML]: Applying holder lookups
[14:49:24] [Server thread/INFO] [FML]: Holder lookups applied
[14:49:25] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@12706ac6)
[14:49:26] [Server thread/INFO] [minecraft/AdvancementList]: Loaded 488 advancements
[14:49:27] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@12706ac6)
[14:49:27] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@12706ac6)
[14:49:27] [Server thread/INFO] [minecraft/MinecraftServer]: Preparing start region for level 0
[14:49:28] [Server thread/INFO] [minecraft/MinecraftServer]: Preparing spawn area: 2%
[14:49:30] [Server thread/INFO] [FML]: Unloading dimension -1
[14:49:30] [Server thread/INFO] [FML]: Unloading dimension 1
[14:49:30] [Server thread/INFO] [minecraft/IntegratedServer]: Changing view distance to 2, from 10
[14:49:36] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2
[14:49:36] [Netty Server IO #1/INFO] [FML]: Client protocol version 2
[14:49:36] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 5 mods : minecraft@1.12.2,dreammod@0.0.1T2 - MC 1.12.2,FML@8.0.99.99,forge@14.23.5.2784,mcp@9.42
[14:49:36] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established
[14:49:36] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
[14:49:36] [Server thread/INFO] [minecraft/PlayerList]: Player407[local:E:d7216ec6] logged in with entity id 114 at (-1256.7049911088864, 5.0, -776.7016242586626)
[14:49:36] [Server thread/INFO] [minecraft/MinecraftServer]: Player407 joined the game
[14:49:39] [Server thread/INFO] [minecraft/IntegratedServer]: Saving and pausing game...
[14:49:39] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'New World'/overworld
[14:49:41] [pool-2-thread-1/WARN] [mojang/YggdrasilMinecraftSessionService]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@51dab236[id=da5cc374-3bd7-357d-9ee2-36c8124e8cc4,name=Player407,properties={},legacy=false]
com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time
   at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:79) ~[YggdrasilAuthenticationService.class:?]
   at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:180) [YggdrasilMinecraftSessionService.class:?]
 at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:60) [YggdrasilMinecraftSessionService$1.class:?]
 at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:57) [YggdrasilMinecraftSessionService$1.class:?]
 at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3716) [guava-21.0.jar:?]
        at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2424) [guava-21.0.jar:?]
        at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2298) [guava-21.0.jar:?]
 at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2211) [guava-21.0.jar:?]
     at com.google.common.cache.LocalCache.get(LocalCache.java:4154) [guava-21.0.jar:?]
     at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4158) [guava-21.0.jar:?]
       at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5147) [guava-21.0.jar:?]
   at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:5153) [guava-21.0.jar:?]
  at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:170) [YggdrasilMinecraftSessionService.class:?]
   at net.minecraft.client.Minecraft.getProfileProperties(Minecraft.java:3182) [Minecraft.class:?]
        at net.minecraft.client.resources.SkinManager$3.run(SkinManager.java:138) [SkinManager$3.class:?]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_191]
       at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_191]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_191]
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_191]
       at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191]
                                                                                                                                                           [14:49:57] [Client thread/INFO] [minecraft/GuiNewChat]: [CHAT] Saved screenshot as 2018-12-14_14.49.57.png
[14:49:59] [Client thread/INFO] [minecraft/GuiNewChat]: [CHAT] Saved screenshot as 2018-12-14_14.49.59.png
[14:50:00] [Server thread/INFO] [minecraft/IntegratedServer]: Saving and pausing game...
[14:50:00] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'New World'/overworld
[14:50:01] [Server thread/INFO] [minecraft/MinecraftServer]: Stopping server
[14:50:01] [Server thread/INFO] [minecraft/MinecraftServer]: Saving players
[14:50:01] [Server thread/INFO] [minecraft/NetHandlerPlayServer]: Player407 lost connection: Disconnected
[14:50:01] [Server thread/INFO] [minecraft/MinecraftServer]: Player407 left the game
[14:50:01] [Server thread/INFO] [minecraft/NetHandlerPlayServer]: Stopping singleplayer server as player logged out
[14:50:01] [Server thread/INFO] [minecraft/MinecraftServer]: Saving worlds
[14:50:01] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'New World'/overworld
[14:50:01] [Server thread/INFO] [FML]: Unloading dimension 0
[14:50:01] [Server thread/INFO] [FML]: Applying holder lookups
[14:50:01] [Server thread/INFO] [FML]: Holder lookups applied
[14:50:16] [Client thread/INFO] [minecraft/Minecraft]: Stopping!
[14:50:16] [Client thread/INFO] [minecraft/SoundManager]: SoundSystem shutting down...
[14:50:17] [Client thread/WARN] [minecraft/SoundManager]: Author: Paul Lamb, www.paulscode.com

BUILD SUCCESSFUL 

pictures of the problem 

2018-12-14_14.49.57.png

2018-12-14_14.49.59.png

Link to comment
Share on other sites

gonna try it now with in the blockstate file 

{
  "variants":{
             "axis=y": { "model": "dreammod:block_column_cloud" },
        "axis=z": { "model": "dreammod:block_column_cloud", "x": 90 },
        "axis=x": { "model": "dreammod:block_column_cloud", "x": 90, "y": 90 },
        "inventory": {"model":  "dreammod:block_column_cloud", "transform":  "forge:default-block"}
  }
}

maybe it works

Link to comment
Share on other sites

yeah i know i did it only so i could easier make new blocks and that you can use the mod as an sort of api to make your own blocks IHasModel has only one code 

public interface IHasModel {

    public void registerModels();

}

and in the other class i do

public void registerModels() {
    Main.proxy.registerItemRendere(Item.getItemFromBlock(this), 0, "inventory");
}

in client proxy i do

@Override
public void registerItemRendere(Item item, int meta, String id) {

    ModelLoader.setCustomModelResourceLocation(item, meta, new ModelResourceLocation(item.getRegistryName(), id));
}
Link to comment
Share on other sites

But you can do the same in the ModelRegistryEvent just fine. In fact you are writing three times the code needed when using IHasModel. Not to mention that the whole notion of IHasModel is stupid since all items need models and nothing about model registration requires access to private/protected data.

Link to comment
Share on other sites

You can do ALL of your model registration AND handle special cases in 1 line of code.

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.