Author Topic: Chalex's MC2D Mod  (Read 14983 times)

0 Members and 1 Guest are viewing this topic.

Offline chalex

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 15
  • Rating: +1/-0
  • Making the nSMM... and probably not much else.
    • View Profile
Chalex's MC2D Mod
« on: May 22, 2021, 11:06:16 am »
It's a real shame not many people are aware of these updates, they're great.

I was working on a quality of life mod and I didn't even know about the superior 1.0 pre 2 version until I was basically finished.
Anyway, I present to you..
Chalex's Minecraft 2D Enhanced Controls Mod!


NOTICE: THERE ARE TWO VERSIONS, 0.13 AND 1.0 PRE 2. 0.13 USES THE OLD VERSION OF MC2D AND HAS LESS FEATURES!!

"Fixes":
 - The unused hamster block acts as a super light source, with a strength of 1000. This is a bad way to fix the lighting problems on emulator, but alas, I am bad at coding.

Quality of life improvements:
 - New control schemes!:
 1: Old controls with enter placing and destroying
 2: Old controls with (-) placing and enter destroying
 3: Control scheme 1 but numpad moves Steve and touchpad cursor
 4: Controls scheme 2 but numpad moves Steve and touchpad moves cursor (this is the one I recommend!)
 - Control schemes 3&4 also have wasd and space mappings to make pc play intuitive
 - Unused hamster block can be crafted...
 - Updated a few other things too that I presumably forgot about

Other improvements:
 - New splash text? idk

Future:
 - I intend on making new craftable blocks as soon as I can understand how to make a graphic
 - New tree types maybe too
 - Relatively simple stuff honestly I'm only 15 perhaps something more drastic when I have experience
« Last Edit: May 22, 2021, 11:48:35 am by chalex »
Wow! I am working on:
that's amazing!

Discord: onlypuppy7#5131

Offline chalex

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 15
  • Rating: +1/-0
  • Making the nSMM... and probably not much else.
    • View Profile
Re: Chalex's MC2D Mod
« Reply #1 on: May 23, 2021, 05:34:36 pm »
New update!
I am releasing the v2 version Chalex's MC2D Mod!

Textures look bad due to being taken with an emulator!! They look crisp on hardware!
A showcase of all the new blocks!



Strongholds now have a 1 in 10 chance of generating in place of dungeons!



Fixes:
 - Hamster changed to glowstone
 - A few crashes fixed


New!:
 - Strongholds generate in place of 1/10th of a dungeon! They contain an end portal and some stairs. Once I manage to make a new dimension I might even be able to implement the End :o
 - New stone brick block types!:
    - Stone Bricks (craftable from 4 stone)
    - Mossy Stone Bricks (craftable from 1 vine and 1 stone brick)
    - Cracked Stone Bricks (craftable by smelting stone bricks)
    - Stone Brick Stairs (craftable from 6 stone bricks)
 - Other new blocks!
    - Vines (obtainable as chest loot and act like ladders)
    - Iron bars (craftable from 6 iron)
    - End portal frames (not craftable)


Bugs >:(:
 - Sometimes the roof of strongholds spit an error. I have no clue why.


Future:
 - The end!
 - Valuable blocks (block of iron, gold etc)
 - Nether Portals to teleport to the "Nether" layer!
 - Endermen!
« Last Edit: May 23, 2021, 05:43:57 pm by chalex »
Wow! I am working on:
that's amazing!

Discord: onlypuppy7#5131

Offline chalex

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 15
  • Rating: +1/-0
  • Making the nSMM... and probably not much else.
    • View Profile
Re: Chalex's MC2D Mod
« Reply #2 on: May 29, 2021, 03:08:09 pm »
New update!
I am releasing the v3 version Chalex's MC2D Mod!

Textures look bad due to being taken with an emulator!! They look crisp on hardware!
The photo doesn't do a good job at demonstrating this, I recommend trying it out!

A showcase of all the new features!



Fixes:
 - Crashes that I forgot about


New!:
 - Endermen! They teleport about 7 blocks away when attacked, and move very fast. They drop 0-1 ender pearls.
 - Ender pearls! They are quite buggy because of (my) bad code. They are not game breaking, and the most you can do with them is clip through a 1 block floor. For this reason the bedrock layer is now 2 blocks tall. Improving them is currently not my priority.
 - Scrolling in the creative menu! I was initially worried about the limit of blocks I would be able to add because of the limited space, so now that is not a worry any more!
 - Beds explode in the nether with FIRE! Yes, a very fiery explosion occurs when you try to sleep in the nether... not recommended in a survival world.

Bugs >:(:
 - Sometimes the roof of strongholds spit an error. I have no clue why.

Priorities:
 - Blazes and nether fortresses (or at least the spawner room)

Future:
 - The end!
 - Valuable blocks (block of iron, gold etc)
 - Nether Portals to teleport to the "Nether" layer!

« Last Edit: May 29, 2021, 03:14:59 pm by chalex »
Wow! I am working on:
that's amazing!

Discord: onlypuppy7#5131

Offline Ryan

  • LV0 Newcomer (Next: 5)
  • Posts: 1
  • Rating: +0/-0
    • View Profile
Re: Chalex's MC2D Mod
« Reply #3 on: May 31, 2021, 09:13:37 am »
New update!
I am releasing the v3 version Chalex's MC2D Mod!

Textures look bad due to being taken with an emulator!! They look crisp on hardware!
The photo doesn't do a good job at demonstrating this, I recommend trying it out!

A showcase of all the new features!



Fixes:
 - Crashes that I forgot about


New!:
 - Endermen! They teleport about 7 blocks away when attacked, and move very fast. They drop 0-1 ender pearls.
 - Ender pearls! They are quite buggy because of (my) bad code. They are not game breaking, and the most you can do with them is clip through a 1 block floor. For this reason the bedrock layer is now 2 blocks tall. Improving them is currently not my priority.
 - Scrolling in the creative menu! I was initially worried about the limit of blocks I would be able to add because of the limited space, so now that is not a worry any more!
 - Beds explode in the nether with FIRE! Yes, a very fiery explosion occurs when you try to sleep in the nether... not recommended in a survival world.

Bugs >:(:
 - Sometimes the roof of strongholds spit an error. I have no clue why.

Priorities:
 - Blazes and nether fortresses (or at least the spawner room)

Future:
 - The end!
 - Valuable blocks (block of iron, gold etc)
 - Nether Portals to teleport to the "Nether" layer!



Hey! I was wondering if you would like some help? I’ve attempted something like this in the past, but I couldn’t figure out how to open the code up, but considering someone else is doing it I wanted to help. I’ve been programming for about 3 years now so this shouldn’t be that hard to work with. If you would like some help, you can just reply to me here, but it would probably be easier to email me at [email protected] as I will be able to respond quicker there. Also, attacking endermen crash your game, check on line 2018 for a null value ;).

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Chalex's MC2D Mod
« Reply #4 on: May 31, 2021, 10:37:34 am »
I've split this into it's own topic.
/e

Offline chalex

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 15
  • Rating: +1/-0
  • Making the nSMM... and probably not much else.
    • View Profile
Re: Chalex's MC2D Mod
« Reply #5 on: May 31, 2021, 05:03:36 pm »
Hey! I was wondering if you would like some help? I’ve attempted something like this in the past, but I couldn’t figure out how to open the code up, but considering someone else is doing it I wanted to help. I’ve been programming for about 3 years now so this shouldn’t be that hard to work with. If you would like some help, you can just reply to me here, but it would probably be easier to email me at [email protected] as I will be able to respond quicker there. Also, attacking endermen crash your game, check on line 2018 for a null value ;).

Editing the code is easy providing you have the student software, you just need to click Insert>Script Editor>Edit Script. I don't know anything about coding myself honestly, I coded for 5 years in Scratch and now that I'm older I'm translating my knowledge into written code (which meant stopping the use of hardcoding, endless if statements and endless loops - but I at least understand the fundamentals). This is really the first time I've touched real programming and for that reason, I feel I'd frustrate both of us if we both worked on it. You are however free to try and patch something better from my code, but I also don't want to feel guilty of throwing garbage to you to fix :P.

And the error on line 2018, that has something to do with teleportation.

Code: [Select]
function AbstractMob:teleport(x, y, distanceX, distanceY, rangeX, rangeY)
    local searchX=0
    local searchY=-100
    local searchNum=math.random(0,1)
    local attempts=0
    while (world[searchX][searchY].solid and world[searchX][searchY+1].solid) and attempts<=9999 do --LINE 2018
        searchNumX=math.random(0,1)
        searchNumY=math.random(0,1)
        if searchNumX==0 then searchX=math.random(x-distanceX-rangeX, x-distanceX)
        else searchX=math.random(x+distanceX, x+distanceX+rangeX)
        end
        if searchNumY==0 then searchY=math.random(y-distanceY-rangeY, y-distanceY)
        else searchY=math.random(y+distanceY, y+distanceY+rangeY)
        end
        attempts=attempts+1
    end
    if attempts<=9999 then
        return searchX, searchY+1
    else
        return x,y,2
    end
end
The code checks random areas for an area to teleport to within a certain range and if its in a hole for example the attempts var exceeds 9999 then it doesn't move.
I don't think I can reproduce that error as well, perhaps you remember the circumstances that it occured in? I never got an error like that in my testing.
I've split this into it's own topic.
Thank you
Wow! I am working on:
that's amazing!

Discord: onlypuppy7#5131

Offline Nobi

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 6
  • Rating: +0/-0
    • View Profile
Re: Chalex's MC2D Mod
« Reply #6 on: June 17, 2021, 10:10:49 am »
New update!
I am releasing the v3 version Chalex's MC2D Mod!

Textures look bad due to being taken with an emulator!! They look crisp on hardware!
The photo doesn't do a good job at demonstrating this, I recommend trying it out!

A showcase of all the new features!



Fixes:
 - Crashes that I forgot about


New!:
 - Endermen! They teleport about 7 blocks away when attacked, and move very fast. They drop 0-1 ender pearls.
 - Ender pearls! They are quite buggy because of (my) bad code. They are not game breaking, and the most you can do with them is clip through a 1 block floor. For this reason the bedrock layer is now 2 blocks tall. Improving them is currently not my priority.
 - Scrolling in the creative menu! I was initially worried about the limit of blocks I would be able to add because of the limited space, so now that is not a worry any more!
 - Beds explode in the nether with FIRE! Yes, a very fiery explosion occurs when you try to sleep in the nether... not recommended in a survival world.

Bugs >:(:
 - Sometimes the roof of strongholds spit an error. I have no clue why.

Priorities:
 - Blazes and nether fortresses (or at least the spawner room)

Future:
 - The end!
 - Valuable blocks (block of iron, gold etc)
 - Nether Portals to teleport to the "Nether" layer!

Very well done. I was actually trying to make a mod pack that added villages and what not but i realized I dont know how to lua script. I've been waiting for the mod maker ever since. Keep it up  :thumbsup:
Just Typing...

Offline chalex

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 15
  • Rating: +1/-0
  • Making the nSMM... and probably not much else.
    • View Profile
Re: Chalex's MC2D Mod
« Reply #7 on: June 17, 2021, 05:17:11 pm »
Very well done. I was actually trying to make a mod pack that added villages and what not but i realized I dont know how to lua script. I've been waiting for the mod maker ever since. Keep it up  :thumbsup:
Thanks, it's really nice seeing the feedback I've been receiving! You should give it a shot; if I can do this, certainly anyone can with a bit of spare time (and Stack Overflow...)
Wow! I am working on:
that's amazing!

Discord: onlypuppy7#5131

Offline lolpro11

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 18
  • Rating: +2/-0
    • View Profile
Re: Chalex's MC2D Mod
« Reply #8 on: June 27, 2021, 03:08:48 pm »
Hi! I'm a dev. A few months ago I made a new version of this minecraft. Here's it is: https://hypixel.net/threads/minecraft-on-a-calculator-v3.4064840/
also, may I merge Jen's work, your work, and my work? Thanks.

Offline Nobi

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 6
  • Rating: +0/-0
    • View Profile
Re: Chalex's MC2D Mod
« Reply #9 on: June 28, 2021, 09:37:00 pm »
Hi! I'm a dev. A few months ago I made a new version of this minecraft. Here's it is: https://hypixel.net/threads/minecraft-on-a-calculator-v3.4064840/
also, may I merge Jen's work, your work, and my work? Thanks.

Wow! Very nice work. I was modding the game but apparently I lost the script. Im working on the loading screen currently again. Also, I'm waiting for SkyBlock. :thumbsup:
Just Typing...

Offline lolpro11

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 18
  • Rating: +2/-0
    • View Profile
Re: Chalex's MC2D Mod
« Reply #10 on: June 28, 2021, 09:55:05 pm »
Hi! I'm a dev. A few months ago I made a new version of this minecraft. Here's it is: https://hypixel.net/threads/minecraft-on-a-calculator-v3.4064840/
also, may I merge Jen's work, your work, and my work? Thanks.

Wow! Very nice work. I was modding the game but apparently I lost the script. Im working on the loading screen currently again. Also, I'm waiting for SkyBlock. :thumbsup:
Thanks! I will work on skyblock, and I will help both of you guys on your projects. What mod are you working on Nobi?



Hi! I saw your notice on the handheld lighting mechanic not working. To fix this, set your View<Zoom to 100%. I think this is a bug with the shade calculations. Thanks!

Edit (Eeems): Merged double post
« Last Edit: June 29, 2021, 12:04:28 pm by Eeems »

Offline chalex

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 15
  • Rating: +1/-0
  • Making the nSMM... and probably not much else.
    • View Profile
Re: Chalex's MC2D Mod
« Reply #11 on: July 26, 2021, 09:17:15 am »
Hi! I'm a dev. A few months ago I made a new version of this minecraft. Here's it is: https://hypixel.net/threads/minecraft-on-a-calculator-v3.4064840/
also, may I merge Jen's work, your work, and my work? Thanks.

Wow! Very nice work. I was modding the game but apparently I lost the script. Im working on the loading screen currently again. Also, I'm waiting for SkyBlock. :thumbsup:

Thanks! I will work on skyblock, and I will help both of you guys on your projects. What mod are you working on Nobi?



Hi! I saw your notice on the handheld lighting mechanic not working. To fix this, set your View<Zoom to 100%. I think this is a bug with the shade calculations. Thanks!

Edit (Eeems): Merged double post
damn, that does work! however it does become unbearably small so thats a shame.
https://hypixel.net/threads/update-added-hypixel-and-2-other-people-in-minecraft-calculator-edition.4353259/
you should've linked this here too  because this quite cool.
i was talking on discord with nobi a while back and tbh i think he's given up.
Wow! I am working on:
that's amazing!

Discord: onlypuppy7#5131

Offline lolpro11

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 18
  • Rating: +2/-0
    • View Profile
Re: Chalex's MC2D Mod
« Reply #12 on: August 21, 2021, 12:59:38 pm »
Tbh, I'm taking a break from this too, cause there's nothing for me to fix atm. If you guys need bug fixes, just dm me what you need. Thanks.

Offline ElNoobO

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 8
  • Rating: +0/-0
    • View Profile
Re: Chalex's MC2D Mod
« Reply #13 on: November 22, 2022, 06:33:01 am »
Hello
I've build a pillager mansion like structure.  ^-^
It's possible to insert this in a future update ? :hyper:
(sorry for the bad english)



PS : If you need a structure builder you can ask me ^-^

Edit (Eeems): merged double post
« Last Edit: November 22, 2022, 07:39:29 am by Eeems »
ElNoobO the worrest TI-BASIC programmer